From 57f75799bf4b24b09cbee9a2de4b01b2c73757d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 23 Oct 2010 19:02:30 +0000 Subject: [PATCH] Revert r85801. The test ought to pass without rounding. --- Lib/test/test_tarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index fd7ac2bf49..3a217dc815 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() -- 2.40.0