summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_sendfile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sendfile.py b/Lib/test/test_asyncio/test_sendfile.py
index 26e44a3..f148fe2 100644
--- a/Lib/test/test_asyncio/test_sendfile.py
+++ b/Lib/test/test_asyncio/test_sendfile.py
@@ -18,6 +18,10 @@ except ImportError:
ssl = None
+def tearDownModule():
+ asyncio.set_event_loop_policy(None)
+
+
class MySendfileProto(asyncio.Protocol):
def __init__(self, loop=None, close_after=0):