Skip to content

Commit f6f335f

Browse files
committed
Temporarily break test_blocking_lock_file on Windows
To compare how much extra wait time Windows and macOS usually need.
1 parent 789baa1 commit f6f335f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/test_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def test_blocking_lock_file(self):
397397
self.assertRaises(IOError, wait_lock._obtain_lock)
398398
elapsed = time.time() - start
399399
extra_time = 0.02
400-
if os.name == "nt" or sys.platform == "cygwin":
400+
if sys.platform == "cygwin": # FIXME: Put back native Windows check.
401401
extra_time *= 6 # NOTE: Indeterministic failures without this...
402402
self.assertLess(elapsed, wait_time + extra_time)
403403

0 commit comments

Comments
 (0)