]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109960: Remove test_pty timeout of 10 seconds (#110058)
authorVictor Stinner <vstinner@python.org>
Fri, 29 Sep 2023 00:01:24 +0000 (02:01 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 00:01:24 +0000 (00:01 +0000)
commit5fdcea744024c8a19ddb57057bf5ec2889546c98
treecb3954ee35ec6f10684fc0e352d47e1d993f86f6
parentb488c0d761b2018c10bc5a0e5469b8b209e1a681
gh-109960: Remove test_pty timeout of 10 seconds (#110058)

In 2003, test_pty got a hardcoded timeout of 10 seconds to prevent
hanging on AIX & HPUX "if run after test_openpty":
commit 7d8145268ee282f14d6adce9305dc3c1c7ffec14. Since 2003, test_pty
was no longer reported to hang on AIX. But today, the test can fail
simply because a CI is busy running other tests in parallel.
The timeout of 10 seconds is no longer needed, just remove it.
Moreover, regrtest now has multiple built-in generic timeout
mecanisms.
Lib/test/test_pty.py