1 parent 789baa1 commit f6f335fCopy full SHA for f6f335f
test/test_util.py
@@ -397,7 +397,7 @@ def test_blocking_lock_file(self):
397
self.assertRaises(IOError, wait_lock._obtain_lock)
398
elapsed = time.time() - start
399
extra_time = 0.02
400
- if os.name == "nt" or sys.platform == "cygwin":
+ if sys.platform == "cygwin": # FIXME: Put back native Windows check.
401
extra_time *= 6 # NOTE: Indeterministic failures without this...
402
self.assertLess(elapsed, wait_time + extra_time)
403
0 commit comments