summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_server.py')
-rw-r--r--Lib/test/test_asyncio/test_server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_server.py b/Lib/test/test_asyncio/test_server.py
index 034293c..6de058a 100644
--- a/Lib/test/test_asyncio/test_server.py
+++ b/Lib/test/test_asyncio/test_server.py
@@ -9,6 +9,10 @@ from test.test_asyncio import utils as test_utils
from test.test_asyncio import functional as func_tests
+def tearDownModule():
+ asyncio.set_event_loop_policy(None)
+
+
class BaseStartServer(func_tests.FunctionalTestCaseMixin):
def new_loop(self):