]> granicus.if.org Git - python/commit
bpo-36454: Fix test_time.test_monotonic() (GH-12929)
authorVictor Stinner <vstinner@redhat.com>
Tue, 23 Apr 2019 22:15:12 +0000 (00:15 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Apr 2019 22:15:12 +0000 (00:15 +0200)
commitd246a6766b9d8cc625112906299c4cb019944300
treeb4c5b47727444ffc14f750b6ce29d609289db0b2
parent29d018aa63b72161cfc67602dc3dbd386272da64
bpo-36454: Fix test_time.test_monotonic() (GH-12929)

Change test_time.test_monotonic() to test only the lower bound of elapsed time
after a sleep command rather than the upper bound. This prevents unnecessary
test failures on slow buildbots. Patch by Victor Stinner.
Lib/test/test_time.py
Misc/NEWS.d/next/Tests/2019-04-23-17-48-11.bpo-36454.0q4lQz.rst [new file with mode: 0644]