summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_contextlib.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-20 13:54:19 (GMT)
committerGitHub <noreply@github.com>2023-09-20 13:54:19 (GMT)
commitced6924630037f1e5b3d1dbef2b600152fb07fbb (patch)
tree9dd1a37eb08179229e59319f3feba36161325486 /Lib/test/test_contextlib.py
parent850cc8d0b1db0a912a6e458720e265e6a6e5c1ba (diff)
downloadcpython-ced6924630037f1e5b3d1dbef2b600152fb07fbb.zip
cpython-ced6924630037f1e5b3d1dbef2b600152fb07fbb.tar.gz
cpython-ced6924630037f1e5b3d1dbef2b600152fb07fbb.tar.bz2
gh-108973: Fix asyncio test_subprocess_consistent_callbacks() (#109431)
SubprocessProtocol process_exited() method can be called before pipe_data_received() and pipe_connection_lost() methods. Document it and adapt the test for that. Revert commit 282edd7b2a74c4dfe1bfe3c5b1d30f9c21d554d6. _child_watcher_callback() calls immediately _process_exited(): don't add an additional delay with call_soon(). The reverted change didn't make _process_exited() more determistic: it can still be called before pipe_connection_lost() for example. Co-authored-by: Davide Rizzo <sorcio@gmail.com>
Diffstat (limited to 'Lib/test/test_contextlib.py')
0 files changed, 0 insertions, 0 deletions