diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-14 09:55:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-14 09:55:17 (GMT) |
commit | 3402f7268897db15053866e1e68404cfa0e02706 (patch) | |
tree | fdffe622d41a6f50a35087237a8dd6438eceef6f | |
parent | 188aedf8bb623d41302e10503268b0852ea91134 (diff) | |
download | cpython-3402f7268897db15053866e1e68404cfa0e02706.zip cpython-3402f7268897db15053866e1e68404cfa0e02706.tar.gz cpython-3402f7268897db15053866e1e68404cfa0e02706.tar.bz2 |
bpo-30649: Revert utime delta in test_os (#2176)
PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert
the utime delta to 20 ms.
I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot.
-rw-r--r-- | Lib/test/test_os.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index bc1b0ee..0857561 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -626,7 +626,9 @@ class UtimeTests(unittest.TestCase): # bpo-30649: Tolerate 50 ms for slow Windows buildbots. delta = 0.050 else: - delta = 0.010 + # bpo-30649: PPC64 Fedora 3.x buildbot requires + # at least a delta of 14 ms + delta = 0.020 st = os.stat(self.fname) msg = ("st_time=%r, current=%r, dt=%r" % (st.st_mtime, current, st.st_mtime - current)) |