[3.7] bpo-33735: Fix test_multiprocessing random failure (GH-8059) by miss-islington · Pull Request #8060 · python/cpython (original) (raw)

When hunting memory leaks using -R 3:3, test_imap_unordered() of
test_multiprocessing leaks randomly a few memory blocks. It is a
false alarm: when testing using -R 3:20 for example, no leak is
detected.

Modify test_imap_unordered() to be closer to test_imap():

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue33735