From ae2cf7c15c31736e1a7aac9d2c0e04e28d62b8a9 2015-03-27 00:15:54 From: Min RK Date: 2015-03-27 00:15:54 Subject: [PATCH] use >= instead of > when comparing dates fast test runners can result in equal values. --- diff --git a/IPython/html/services/contents/tests/test_manager.py b/IPython/html/services/contents/tests/test_manager.py index 76ec36b..c45300c 100644 --- a/IPython/html/services/contents/tests/test_manager.py +++ b/IPython/html/services/contents/tests/test_manager.py @@ -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