]> 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:13:45 +0000 (13:13 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Sep 2022 20:13:45 +0000 (13:13 -0700)
commit5a17200022eef19ea8a5594ebc440974b890238e
tree37f841f906be0bd1e9aac580c9020d7d83fdffc3
parentf60bbf0a933259ece9de8fbe00d08e2dfa795f80
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