1
0
Fork 0
forked from github/pelican

Merge pull request #276 from AndreaCrotti/float_precision

on my machine leaving the places to 2 or 1 makes this test fail, I
This commit is contained in:
Alexis Metaireau 2012-03-23 07:37:09 -07:00
commit 0d9298313f

View file

@ -85,4 +85,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)