Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_issue105987
test_asyncio.test_eager_task_factory
1 parent fd7dac0 commit aa99a7cCopy full SHA for aa99a7c
1 file changed
Lib/test/test_asyncio/test_eager_task_factory.py
@@ -316,11 +316,9 @@ def tearDown(self):
316
asyncio.all_tasks = asyncio.tasks.all_tasks = self._all_tasks
317
return super().tearDown()
318
319
-
320
- @unittest.skip("skip")
321
def test_issue105987(self):
322
code = """if 1:
323
- from _asyncio import _swap_current_task
+ from _asyncio import _swap_current_task, _set_running_loop
324
325
class DummyTask:
326
pass
@@ -329,6 +327,7 @@ class DummyLoop:
329
327
330
328
331
l = DummyLoop()
+ _set_running_loop(l)
332
_swap_current_task(l, DummyTask())
333
t = _swap_current_task(l, None)
334
"""
0 commit comments