File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class Folders:
5252
5353
5454ENVS = {
55- # PY314: {"coverage": False, "pkg_specs": {"pip": ">19"}},
55+ PY314 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
5656 PY313 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
5757 PY312 : {"coverage" : False , "pkg_specs" : {"pip" : ">19" }},
5858 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():
9292 assert is_native_co (dynamic_fun )
9393
9494 # 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 ))
9797 assert out == 0.1
9898
9999
@@ -114,6 +114,6 @@ def test_issue_96():
114114 assert is_native_co (dynamic_fun )
115115
116116 # 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 ))
119119 assert out == 0.1
You can’t perform that action at this time.
0 commit comments