Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Lib/test/test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,13 @@ def test_notify_all(self):
cond.release()

# check they have all woken
time.sleep(DELTA)
for i in range(10):
try:
if get_value(woken) == 6:
break
except NotImplementedError:
break
time.sleep(DELTA)
self.assertReturnsIfImplemented(6, get_value, woken)

# check state is not mucked up
Expand Down
3 changes: 3 additions & 0 deletions Misc/NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ Build
Tests
-----

- bpo-11790: Fix sporadic failures in
test_multiprocessing.WithProcessesTestCondition.

- bpo-30236: Backported test.regrtest options -m/--match and -G/--failfast
from Python 3.

Expand Down