File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class Folders:
52
52
53
53
54
54
ENVS = {
55
- # PY314: {"coverage": False, "pkg_specs": {"pip": ">19"}},
55
+ PY314 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
56
56
PY313 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
57
57
PY312 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
58
58
PY311 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ def test_native_coroutine():
92
92
assert is_native_co (dynamic_fun )
93
93
94
94
# verify that the new function is a native coroutine and behaves correctly
95
- from asyncio import get_event_loop
96
- out = get_event_loop (). run_until_complete (dynamic_fun (0.1 ))
95
+ from asyncio import run
96
+ out = run (dynamic_fun (0.1 ))
97
97
assert out == 0.1
98
98
99
99
@@ -114,6 +114,6 @@ def test_issue_96():
114
114
assert is_native_co (dynamic_fun )
115
115
116
116
# verify that the new function is a native coroutine and behaves correctly
117
- from asyncio import get_event_loop
118
- out = get_event_loop (). run_until_complete (dynamic_fun (0.1 ))
117
+ from asyncio import run
118
+ out = run (dynamic_fun (0.1 ))
119
119
assert out == 0.1
You can’t perform that action at this time.
0 commit comments