]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110184: Fix subprocess test_pipesize_default() (#110465)
authorVictor Stinner <vstinner@python.org>
Fri, 6 Oct 2023 13:44:53 +0000 (15:44 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 13:44:53 +0000 (15:44 +0200)
commitd023d4166b255023dac448305270350030101481
treeeaffdc7eb54b19a4430b8d9b0b993256e5c4d5b6
parenta4baa9e8ac62cac3ea6363b15ea585b1998ea1f9
gh-110184: Fix subprocess test_pipesize_default() (#110465)

For proc.stdin, get the size of the read end of the test pipe.

Use subprocess context manager ("with proc:").
Lib/test/test_subprocess.py