Skip to content

Commit 9b38adf

Browse files
committed
Refactor2 test
1 parent 694c627 commit 9b38adf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_thread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def nop(i, **kwargs):
388388
stop.acquire()
389389
DELAY = 1.0
390390
# wait for all mutator threads stop.
391-
for _ in support.sleeping_retry(DELAY):
391+
for _ in support.sleeping_retry(support.SHORT_TIMEOUT):
392392
if len(results) == n:
393393
break
394394
self.assertTrue(True, "test successful")

0 commit comments

Comments
 (0)