Skip to content

Instantly share code, notes, and snippets.

@bloodeagle40234
Created January 17, 2017 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bloodeagle40234/9eaf53aac466003cc8e6c43b0a0f66b2 to your computer and use it in GitHub Desktop.
Save bloodeagle40234/9eaf53aac466003cc8e6c43b0a0f66b2 to your computer and use it in GitHub Desktop.
diff --git a/test/unit/obj/test_diskfile.py b/test/unit/obj/test_diskfile.py
index e9e9d44..bc805ce 100644
--- a/test/unit/obj/test_diskfile.py
+++ b/test/unit/obj/test_diskfile.py
@@ -6124,6 +6124,7 @@ class TestSuffixHashes(unittest.TestCase):
def mock_getmtime_def(filename):
if 'mtime' not in non_local:
raise OSError(errno.ENOENT, os.strerror(errno.ENOENT))
+ non_local['mtime'] += 0.01
return non_local['mtime']
mock_write_pickle.side_effect = mock_write_pickle_def
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment