10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be05aa commit 2fe7da8Copy full SHA for 2fe7da8
Lib/test/test_asyncio/test_runners.py
@@ -102,11 +102,14 @@ async def main(expected):
102
loop = asyncio.get_event_loop()
103
self.assertIs(loop.get_debug(), expected)
104
105
- asyncio.run(main(False))
+ asyncio.run(main(False), debug=False)
106
asyncio.run(main(True), debug=True)
107
with mock.patch('asyncio.coroutines._is_debug_mode', lambda: True):
108
asyncio.run(main(True))
109
asyncio.run(main(False), debug=False)
110
+ with mock.patch('asyncio.coroutines._is_debug_mode', lambda: False):
111
+ asyncio.run(main(True), debug=True)
112
+ asyncio.run(main(False))
113
114
def test_asyncio_run_from_running_loop(self):
115
async def main():
0 commit comments