summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_base_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index 11e9465..e333950 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -24,6 +24,10 @@ MOCK_ANY = mock.ANY
PY34 = sys.version_info >= (3, 4)
+def tearDownModule():
+ asyncio.set_event_loop_policy(None)
+
+
def mock_socket_module():
m_socket = mock.MagicMock(spec=socket)
for name in (