Skip to content

Commit 762ee06

Browse files
author
atollk
committed
Fixed py27 test.
1 parent 2348518 commit 762ee06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_osfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_copy_preserve_time(self):
111111
self.assertTrue(self.fs.exists("bar/file.txt"))
112112

113113
dst_info = self.fs.getinfo("bar/file.txt", namespaces)
114-
self.assertEqual(dst_info.modified, src_info.modified)
114+
self.assertAlmostEqual(dst_info.modified, src_info.modified, places=2)
115115

116116
@unittest.skipUnless(osfs.sendfile, "sendfile not supported")
117117
@unittest.skipIf(

0 commit comments

Comments
 (0)