Commit 17654fb
committed
Fix "There is no current event loop" in the asyncio test
This bug is causing the test to fail under Python 3.14. Fix it by
calling asyncio.new_event_loop() and asyncio.set_event_loop() as
recommended in: https://stackoverflow.com/a/73367187
Fixes #1971 parent 278653e commit 17654fb
1 file changed
+2
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
| |||
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 14 | | |
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
27 | 18 | | |
28 | 19 | | |
29 | | - | |
30 | | - | |
| 20 | + | |
| 21 | + | |
31 | 22 | | |
32 | 23 | | |
33 | 24 | | |
| |||
0 commit comments