mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
environment variable is set
This commit is contained in:
parent
d6de5d8455
commit
7b7120e159
6 changed files with 11 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue