summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_tarfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py
index 7a0d677..c73b7b2 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -350,7 +350,7 @@ class MiscReadTest(CommonReadTest):
return "{} ({})".format(mtime, mtime.hex())
else:
return "{!r} (int)".format(mtime)
- file_mtime = os.path.getmtime(path) + 0.001
+ file_mtime = os.path.getmtime(path)
errmsg = "tar mtime {0} != file time {1} of path {2!a}".format(
format_mtime(tarinfo.mtime),
format_mtime(file_mtime),