]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33723: Fix test_time.test_thread_time() (GH-8267)
authorVictor Stinner <vstinner@redhat.com>
Thu, 12 Jul 2018 13:25:22 +0000 (15:25 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Jul 2018 13:25:22 +0000 (15:25 +0200)
commitd6345def68d3a0227253da26213dadb247f786db
tree9e688825b2b244e531b4f395a111fa611f3b4bd5
parent9e9b2c32a34594e901b5b9a03c561a2a2bf63ece
bpo-33723: Fix test_time.test_thread_time() (GH-8267)

The test failed on AMD64 Debian root 3.x buildbot because the busy
loop of 100 ms only increased time.thread_time() by 19.9 ms which is
smaller than 20 ms. Modify the test to tolerate a delta of at least
15 ms instead of 20 ms.
Lib/test/test_time.py