summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_mailbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py
index b00496c..e17de5d 100644
--- a/Lib/test/test_mailbox.py
+++ b/Lib/test/test_mailbox.py
@@ -740,7 +740,7 @@ class _TestMboxMMDF(TestMailbox):
self._box.lock)
# Wait for child to exit. Locking should now succeed.
- pid, status = os.wait()
+ exited_pid, status = os.waitpid(pid, 0)
self._box.lock()
self._box.unlock()