summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-03 11:51:00 (GMT)
committerGitHub <noreply@github.com>2018-07-03 11:51:00 (GMT)
commit3bd9d3b934eb8b27553f19a7ab1c97f95745c68f (patch)
treed846bb5b989ed9e7a8683932e8bad90441845340 /Python/pythonrun.c
parent580c7db172a41d6311c0f3a7aec321597576e214 (diff)
downloadcpython-3bd9d3b934eb8b27553f19a7ab1c97f95745c68f.zip
cpython-3bd9d3b934eb8b27553f19a7ab1c97f95745c68f.tar.gz
cpython-3bd9d3b934eb8b27553f19a7ab1c97f95745c68f.tar.bz2
bpo-33735: Fix test_multiprocessing random failure (GH-8059)
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(): * Only test 10 numbers instead of 1000: it's a pool of 4 processes, so 10 is enough to test at least one number per process * Use chunksize=100 instead of chunksize=53 to mimick test_imap() (cherry picked from commit 23401fb960bb94e6ea62d2999527968d53d3fc65) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions