diff options
Diffstat (limited to 'Lib/test/test_asyncio/test_unix_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_unix_events.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_unix_events.py b/Lib/test/test_asyncio/test_unix_events.py index a01efed..29b345b 100644 --- a/Lib/test/test_asyncio/test_unix_events.py +++ b/Lib/test/test_asyncio/test_unix_events.py @@ -31,6 +31,10 @@ from test.test_asyncio import utils as test_utils MOCK_ANY = mock.ANY +def tearDownModule(): + asyncio.set_event_loop_policy(None) + + def close_pipe_transport(transport): # Don't call transport.close() because the event loop and the selector # are mocked |