Skip to content

Commit

Permalink
Loosen the test for equal time stamps.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.python.org/projects/python/trunk@52338 6015fed2-1504-0410-9fe1-9d1591cc4771
  • Loading branch information
martin.v.loewis committed Oct 15, 2006
1 parent 91bb7b1 commit 3172c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_utime_dir(self):
st = os.stat(test_support.TESTFN)
os.utime(test_support.TESTFN, (st.st_atime, st.st_mtime-delta))
st2 = os.stat(test_support.TESTFN)
self.assertEquals(st2.st_mtime, st.st_mtime-delta)
self.assertAlmostEquals(st2.st_mtime, st.st_mtime-delta, 2)

# Restrict test to Win32, since there is no guarantee other
# systems support centiseconds
Expand Down

0 comments on commit 3172c50

Please sign in to comment.