summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_transports.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_transports.py')
-rw-r--r--Lib/test/test_asyncio/test_transports.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_transports.py b/Lib/test/test_asyncio/test_transports.py
index df44855..bbdb218 100644
--- a/Lib/test/test_asyncio/test_transports.py
+++ b/Lib/test/test_asyncio/test_transports.py
@@ -7,6 +7,12 @@ import asyncio
from asyncio import transports
+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 TransportTests(unittest.TestCase):
def test_ctor_extra_is_none(self):