mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #8165 from minrk/modified_gte
use >= instead of > when comparing dates
This commit is contained in:
commit
1026e819f9
@ -271,7 +271,7 @@ class TestContentsManager(TestCase):
|
||||
|
||||
# Reload notebook and verify that last_modified incremented.
|
||||
saved = cm.get(path)
|
||||
self.assertGreater(saved['last_modified'], model['last_modified'])
|
||||
self.assertGreaterEqual(saved['last_modified'], model['last_modified'])
|
||||
|
||||
# Move the notebook and verify that last_modified stayed the same.
|
||||
# (The frontend fires a warning if last_modified increases on the
|
||||
|
Loading…
Reference in New Issue
Block a user