]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] gh-96710: Make the test timing more lenient for the int/str DoS regression...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Oct 2022 21:14:05 +0000 (14:14 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 21:14:05 +0000 (23:14 +0200)
commite7fe11186504ec59937a3364cf62e76848d32361
treeafea763d895b95c175b2d070457679464411a003
parent6e8e9e7c030b6236ff220362944cba1b93c84bc4
[3.7] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98195)

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