summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_protocols.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_protocols.py')
-rw-r--r--Lib/test/test_asyncio/test_protocols.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_protocols.py b/Lib/test/test_asyncio/test_protocols.py
index d8cde6d..0f23263 100644
--- a/Lib/test/test_asyncio/test_protocols.py
+++ b/Lib/test/test_asyncio/test_protocols.py
@@ -4,6 +4,12 @@ from unittest import mock
import asyncio
+def tearDownModule():
+ # not needed for the test file but added for uniformness with all other
+ # asyncio test files for the sake of unified cleanup
+ asyncio.set_event_loop_policy(None)
+
+
class ProtocolsAbsTests(unittest.TestCase):
def test_base_protocol(self):