From f6f335ffcd55af5367692d338d78cf0465c34514 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Thu, 30 Nov 2023 23:24:21 -0500 Subject: [PATCH] Temporarily break test_blocking_lock_file on Windows To compare how much extra wait time Windows and macOS usually need. --- test/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_util.py b/test/test_util.py index f1ce17bca..634bd765d 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -397,7 +397,7 @@ def test_blocking_lock_file(self): self.assertRaises(IOError, wait_lock._obtain_lock) elapsed = time.time() - start extra_time = 0.02 - if os.name == "nt" or sys.platform == "cygwin": + if sys.platform == "cygwin": # FIXME: Put back native Windows check. extra_time *= 6 # NOTE: Indeterministic failures without this... self.assertLess(elapsed, wait_time + extra_time)