Commit 57f75799 authored by Martin v. Löwis's avatar Martin v. Löwis

Revert r85801. The test ought to pass without rounding.

parent fbb1c619
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment