summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/lock_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/lock_tests.py b/Lib/test/lock_tests.py
index ff30d41fb8..f0a24117f4 100644
--- a/Lib/test/lock_tests.py
+++ b/Lib/test/lock_tests.py
@@ -472,7 +472,7 @@ class ConditionTests(BaseTestCase):
self.assertEqual(state, 4)
b = Bunch(f, 1)
b.wait_for_started()
- for i in range(5):
+ for i in range(4):
time.sleep(0.01)
with cond:
state += 1