[New-bugs-announce] [issue44968] Fix/remove test_subprocess_wait_no_same_group from test_asyncio tests

Ryan Mast (nightlark) report at bugs.python.org
Sat Aug 21 00:27:32 EDT 2021


New submission from Ryan Mast (nightlark) <mast.ryan at gmail.com>:

A deprecation made in bpo-41322 uncovered issues with test_subprocess_wait_no_same_group in test_asyncio that seems to have been broken for some time.

Reverting to a similar structure prior to the refactoring in https://github.com/python/cpython/commit/658103f84ea860888f8dab9615281ea64fee31b9 using async/await avoids the deprecation error, though it still might not be running correctly.

With the change I tried in https://github.com/python/cpython/commit/658103f84ea860888f8dab9615281ea64fee31b9 there is a message about an `unknown child process`, which makes me think there could be some issues with the subprocess exiting prior to the refactoring ~8 years ago.

----------
components: Tests
messages: 400018
nosy: asvetlov, ezio.melotti, michael.foord, rbcollins, rmast, yselivanov
priority: normal
severity: normal
status: open
title: Fix/remove test_subprocess_wait_no_same_group from test_asyncio tests
versions: Python 3.10, Python 3.11, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44968>
_______________________________________


More information about the New-bugs-announce mailing list