Commits

Jan-Jaap Driessen committed 3fcb4e8

must be my machine is faster nowadays. add sleep time in order to notice a difference in computing hashes.

  • Participants
  • Parent commits b36c347

Comments (0)

Files changed (2)

tests/test_checksum.py

 
 def test_mtime(tmpdir):
     testdata_path = str(_copy_testdata(tmpdir))
-    sleep = 0.02
+    sleep = 0.5
     # Sleep extra long on filesystems that report in seconds
     # instead of milliseconds.
     if os.path.getmtime(os.curdir).is_integer():

tests/test_core.py

     # now create a file
     resource = tmpdir.join('test.js')
 
-    time.sleep(0.02)
+    time.sleep(0.5)
     # Sleep extra long on filesystems that report in seconds
     # instead of milliseconds.
     if os.path.getmtime(os.curdir).is_integer():