mirror of
https://github.com/beetbox/beets.git
synced 2025-12-22 08:34:23 +01:00
mtime tests at integral second resolution (#298)
This commit is contained in:
parent
9566d606e8
commit
0e81900675
1 changed files with 1 additions and 1 deletions
|
|
@ -750,7 +750,7 @@ class MtimeTest(unittest.TestCase):
|
|||
os.remove(self.ipath)
|
||||
|
||||
def _mtime(self):
|
||||
return os.path.getmtime(self.ipath)
|
||||
return int(os.path.getmtime(self.ipath))
|
||||
|
||||
def test_mtime_initially_up_to_date(self):
|
||||
self.assertGreaterEqual(self.i.mtime, self._mtime())
|
||||
|
|
|
|||
Loading…
Reference in a new issue