]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121988: Fix test hang when pyrepl is not available (GH-121990) (#122064)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 20 Jul 2024 14:32:41 +0000 (16:32 +0200)
committerGitHub <noreply@github.com>
Sat, 20 Jul 2024 14:32:41 +0000 (14:32 +0000)
commitbd5121b1c054c594e0686be08258ab56576c7aae
treeb0183d9f4972a59bb473aadf9b3544d56aed96ce
parentefc7d1ca866ce7706e4ff5f82a03266f08d27608
[3.13] gh-121988: Fix test hang when pyrepl is not available (GH-121990) (#122064)

gh-121988: Fix test hang when pyrepl is not available (GH-121990)

Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
(cherry picked from commit a09e215abf3c80a3c99c86b4482b512b42aad072)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/test_pyrepl/test_pyrepl.py