summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-14 09:55:17 (GMT)
committerGitHub <noreply@github.com>2017-06-14 09:55:17 (GMT)
commit3402f7268897db15053866e1e68404cfa0e02706 (patch)
treefdffe622d41a6f50a35087237a8dd6438eceef6f
parent188aedf8bb623d41302e10503268b0852ea91134 (diff)
downloadcpython-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.py4
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))