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

test/test_util.py

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy