We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb66897 commit 9d1983bCopy full SHA for 9d1983b
Lib/test/test_multiprocessing.py
@@ -840,7 +840,13 @@ def test_notify_all(self):
840
cond.release()
841
842
# check they have all woken
843
- time.sleep(DELTA)
+ for i in range(10):
844
+ try:
845
+ if get_value(woken) == 6:
846
+ break
847
+ except NotImplementedError:
848
849
+ time.sleep(DELTA)
850
self.assertReturnsIfImplemented(6, get_value, woken)
851
852
# check state is not mucked up
Misc/NEWS
@@ -164,6 +164,9 @@ Build
164
Tests
165
-----
166
167
+- bpo-11790: Fix sporadic failures in
168
+ test_multiprocessing.WithProcessesTestCondition.
169
+
170
- bpo-30236: Backported test.regrtest options -m/--match and -G/--failfast
171
from Python 3.
172
0 commit comments