Skip to content

Commit 16d8f1b

Browse files
committed
Remove main thread assertion from test
1 parent 3945a34 commit 16d8f1b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎Lib/test/test_asyncio/test_runners.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,6 @@ async def coro():
462462
runner.run(coro())
463463

464464
def test_interrupt_after_main_task_done(self):
465-
assert threading.current_thread() is threading.main_thread()
466-
467465
async def coro():
468466
nonlocal task
469467
task = asyncio.create_task(asyncio.Event().wait())

0 commit comments

Comments
 (0)