summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-10-23 19:02:30 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-10-23 19:02:30 (GMT)
commit57f75799bf4b24b09cbee9a2de4b01b2c73757d4 (patch)
treeb5434eba5a66f9667905d91e4f2d4e8b547a4d62 /Lib/test/test_tarfile.py
parentfbb1c6191c56462a8c83c6317989e28a0e154b42 (diff)
downloadcpython-57f75799bf4b24b09cbee9a2de4b01b2c73757d4.zip
cpython-57f75799bf4b24b09cbee9a2de4b01b2c73757d4.tar.gz
cpython-57f75799bf4b24b09cbee9a2de4b01b2c73757d4.tar.bz2
Revert r85801. The test ought to pass without rounding.
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 fd7ac2b..3a217dc 100644
--- a/Lib/test/test_tarfile.py
+++ b/Lib/test/test_tarfile.py
@@ -345,7 +345,7 @@ class MiscReadTest(CommonReadTest):
if sys.platform != "win32":
# Win32 has no support for fine grained permissions.
self.assertEqual(tarinfo.mode & 0o777, os.stat(path).st_mode & 0o777)
- self.assertEqual(tarinfo.mtime, int(os.path.getmtime(path)))
+ self.assertEqual(tarinfo.mtime, os.path.getmtime(path))
finally:
tar.close()