]> granicus.if.org Git - python/commitdiff
Revert r85801. The test ought to pass without rounding.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Oct 2010 19:02:30 +0000 (19:02 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Oct 2010 19:02:30 +0000 (19:02 +0000)
Lib/test/test_tarfile.py

index fd7ac2bf498b65b71ab3fd8ba439ce5fe7e1db2f..3a217dc8150d1f01bbd2e14b73882190755a1e8c 100644 (file)
@@ -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()