mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
parent
7fcfea647f
commit
dbc4d4786b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue