]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33723: Fix test_time.test_process_time() (GH-8358) (GH-8362)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 21 Jul 2018 01:52:44 +0000 (18:52 -0700)
committerVictor Stinner <vstinner@redhat.com>
Sat, 21 Jul 2018 01:52:44 +0000 (03:52 +0200)
commita7a6eac966dd52db1762c8f455c1e208df36feb4
tree1d89550b952324d5c354d14499b0b66fb78066b5
parent03ec4df67d6b4ce93a2da21db7c84dff8259953f
bpo-33723: Fix test_time.test_process_time() (GH-8358) (GH-8362)

The test failed on my laptop because the busy loop took 15.9 ms
whereas the test expects at least 20 ms. Modify test_process_time()
as test_thread_time() has been modified recently: only require 15 ms
instead of 20 ms.
(cherry picked from commit e78dace8dcb23c371df19c9add65895adf436995)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_time.py