mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
[3.14] gh-105987: unskip test_issue105987 from test_asyncio.test_eager_task_factory (GH-139538) (#139539)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
292b6cf3e6
commit
a73fc979cd
1 changed files with 2 additions and 3 deletions
|
|
@ -316,11 +316,9 @@ def tearDown(self):
|
|||
asyncio.all_tasks = asyncio.tasks.all_tasks = self._all_tasks
|
||||
return super().tearDown()
|
||||
|
||||
|
||||
@unittest.skip("skip")
|
||||
def test_issue105987(self):
|
||||
code = """if 1:
|
||||
from _asyncio import _swap_current_task
|
||||
from _asyncio import _swap_current_task, _set_running_loop
|
||||
|
||||
class DummyTask:
|
||||
pass
|
||||
|
|
@ -329,6 +327,7 @@ class DummyLoop:
|
|||
pass
|
||||
|
||||
l = DummyLoop()
|
||||
_set_running_loop(l)
|
||||
_swap_current_task(l, DummyTask())
|
||||
t = _swap_current_task(l, None)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue