]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96710: Make the test timing more lenient for the int/str DoS regression test....
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Sep 2022 20:17:04 +0000 (13:17 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Sep 2022 20:17:04 +0000 (13:17 -0700)
commitfecda02eb6ae3723311c2da67bb5dd48797cb8dd
treee0aeae59d0fd16a8b74d947c04690746b04037dd
parent5586da65e2b067ffd3ef045d3f8997f694ea856d
gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717)

A regression would still absolutely fail and even a flaky pass isn't
harmful as it'd fail most of the time across our N system test runs.

Windows has a low resolution timer and CI systems are prone to odd
timing so this just gives more leeway to avoid flakiness.
(cherry picked from commit 11e3548fd1d3445ccde971d613633b58d73c3016)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_int.py