diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-22 22:14:45 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-22 22:14:45 (GMT) |
| commit | d42b49256fa02397e606410cdf17f450dbf0f206 (patch) | |
| tree | ed78a4f16e381b975aa51d9e6d3b30578111cbdb /Lib/test/test_asyncio/test_tasks.py | |
| parent | 33d2e40d887967968897eda3d8b7a0c98853bf3d (diff) | |
| parent | 7b7120e159e2cb951b01773a164426c9e0bffa2d (diff) | |
| download | cpython-d42b49256fa02397e606410cdf17f450dbf0f206.zip cpython-d42b49256fa02397e606410cdf17f450dbf0f206.tar.gz cpython-d42b49256fa02397e606410cdf17f450dbf0f206.tar.bz2 | |
(Merge 3.4) asyncio: Enable the debug mode of event loops when the
PYTHONASYNCIODEBUG environment variable is set
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
| -rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index e95c7dc..3c358a2 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -1712,6 +1712,8 @@ class CoroutineGatherTests(GatherTestsBase, test_utils.TestCase): self.assertIs(fut._loop, self.one_loop) gen1.close() gen2.close() + + self.set_event_loop(self.other_loop, cleanup=False) gen3 = coro() gen4 = coro() fut = asyncio.gather(gen3, gen4, loop=self.other_loop) |
