diff options
author | Brett Cannon <brettcannon@users.noreply.github.com> | 2018-06-01 20:34:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-01 20:34:09 -0700 |
commit | 8425de4147eb8d83befbb8ea77516fc764bb4309 (patch) | |
tree | e07959e28d2c69c12aabd580ecb35e7a968783d3 /Lib/test/test_asyncgen.py | |
parent | de6516264e793be991f692fdd892707afb9104a7 (diff) | |
download | cpython-git-8425de4147eb8d83befbb8ea77516fc764bb4309.tar.gz |
bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328)
Diffstat (limited to 'Lib/test/test_asyncgen.py')
-rw-r--r-- | Lib/test/test_asyncgen.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncgen.py b/Lib/test/test_asyncgen.py index 5a36423dc9..8dc76ce5c9 100644 --- a/Lib/test/test_asyncgen.py +++ b/Lib/test/test_asyncgen.py @@ -328,6 +328,7 @@ class AsyncGenAsyncioTest(unittest.TestCase): def tearDown(self): self.loop.close() self.loop = None + asyncio.set_event_loop_policy(None) async def to_list(self, gen): res = [] |