diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-23 22:15:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 22:15:12 (GMT) |
commit | d246a6766b9d8cc625112906299c4cb019944300 (patch) | |
tree | b4c5b47727444ffc14f750b6ce29d609289db0b2 /Misc/NEWS.d/next/Tests | |
parent | 29d018aa63b72161cfc67602dc3dbd386272da64 (diff) | |
download | cpython-d246a6766b9d8cc625112906299c4cb019944300.zip cpython-d246a6766b9d8cc625112906299c4cb019944300.tar.gz cpython-d246a6766b9d8cc625112906299c4cb019944300.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2019-04-23-17-48-11.bpo-36454.0q4lQz.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2019-04-23-17-48-11.bpo-36454.0q4lQz.rst b/Misc/NEWS.d/next/Tests/2019-04-23-17-48-11.bpo-36454.0q4lQz.rst new file mode 100644 index 0000000..151c7ab --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2019-04-23-17-48-11.bpo-36454.0q4lQz.rst @@ -0,0 +1,3 @@ +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. |