]> granicus.if.org Git - python/commitdiff
test_tarfile: woops, remove +0.001 which was used to debug
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 29 Oct 2010 11:02:06 +0000 (11:02 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 29 Oct 2010 11:02:06 +0000 (11:02 +0000)
Lib/test/test_tarfile.py

index 7a0d677ea0f82c9cbc1461f2279ff806e8a3cf92..c73b7b293020bacf1a37a128d38b5930258655ad 100644 (file)
@@ -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),