summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-29 11:02:06 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-29 11:02:06 (GMT)
commit14d8fe7de85a99284f407ea282220b9a050ba940 (patch)
tree29ff630d9f934d5ef3aaee9ac7f5b13af8205d0f /Lib/test/test_tarfile.py
parent26bfb5ab82dbba8d771ffc47005865682039f7a8 (diff)
downloadcpython-14d8fe7de85a99284f407ea282220b9a050ba940.zip
cpython-14d8fe7de85a99284f407ea282220b9a050ba940.tar.gz
cpython-14d8fe7de85a99284f407ea282220b9a050ba940.tar.bz2
test_tarfile: woops, remove +0.001 which was used to debug
Diffstat (limited to 'Lib/test/test_tarfile.py')
-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),