on my machine leaving the places to 2 or 1 makes this test fail, I

suppose because it's too fast, while changing it to 0 makes it pass.
This commit is contained in:
Andrea Crotti 2012-03-22 16:30:26 +00:00
commit dbc4d4786b

View file

@ -90,4 +90,4 @@ class TestUtils(unittest.TestCase):
os.utime(filename, (t, t))
changed = utils.files_changed(path, 'rst')
self.assertEquals(changed, True)
self.assertAlmostEqual(utils.LAST_MTIME, t, places=2)
self.assertAlmostEqual(utils.LAST_MTIME, t, places=0)