Skip to content

Commit 567f751

Browse files
committed
copy event loop policy teardown from other asyncio tests
1 parent 75c328b commit 567f751

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_asyncio/test_selector_thread.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
from unittest import mock
99

1010

11+
def tearDownModule():
12+
asyncio.events._set_event_loop_policy(None)
13+
14+
1115
class SelectorThreadTest(unittest.IsolatedAsyncioTestCase):
1216
async def asyncSetUp(self):
1317
self._sockets = []

0 commit comments

Comments
 (0)