diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_asyncio/test_windows_events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py index 9ed10fc20f..6b005702c9 100644 --- a/Lib/test/test_asyncio/test_windows_events.py +++ b/Lib/test/test_asyncio/test_windows_events.py @@ -69,6 +69,8 @@ class ProactorMultithreading(test_utils.TestCase): nonlocal finished loop = asyncio.new_event_loop() loop.run_until_complete(coro()) + # close() must not call signal.set_wakeup_fd() + loop.close() finished = True thread = threading.Thread(target=func) |