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 2780df4 commit 24b235fCopy full SHA for 24b235f
Lib/test/test_asyncio/test_subprocess.py
@@ -424,23 +424,6 @@ async def cancel_wait():
424
425
self.loop.run_until_complete(cancel_wait())
426
427
- def test_cancel_make_subprocess_transport_exec(self):
428
-
429
- async def cancel_make_transport():
430
- coro = asyncio.create_subprocess_exec(*PROGRAM_BLOCKED)
431
- task = self.loop.create_task(coro)
432
433
- self.loop.call_soon(task.cancel)
434
- try:
435
- await task
436
- except asyncio.CancelledError:
437
- pass
438
439
- # ignore the log:
440
- # "Exception during subprocess creation, kill the subprocess"
441
- with test_utils.disable_logger():
442
- self.loop.run_until_complete(cancel_make_transport())
443
444
def test_cancel_post_init(self):
445
446
async def cancel_make_transport():
0 commit comments