summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_futures2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_futures2.py')
-rw-r--r--Lib/test/test_asyncio/test_futures2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_futures2.py b/Lib/test/test_asyncio/test_futures2.py
index 57d2419..60b5885 100644
--- a/Lib/test/test_asyncio/test_futures2.py
+++ b/Lib/test/test_asyncio/test_futures2.py
@@ -3,6 +3,10 @@ import asyncio
import unittest
+def tearDownModule():
+ asyncio.set_event_loop_policy(None)
+
+
class FutureTests(unittest.IsolatedAsyncioTestCase):
async def test_recursive_repr_for_pending_tasks(self):
# The call crashes if the guard for recursive call