]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40135: Fix multiprocessing test_shared_memory_across_processes() (GH-19892)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 May 2020 15:25:22 +0000 (08:25 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 15:25:22 +0000 (08:25 -0700)
commit70fe95cdc9ac1b00d4f86b7525dca80caf7003e1
tree4c3cd3feddfc25a437fd27408ea5a9bb51fb5452
parent9609460ce0b71215eff2d057b6780950e00be013
bpo-40135: Fix multiprocessing test_shared_memory_across_processes() (GH-19892)

Don't define shared memory block's name in test_shared_memory_across_processes():
use SharedMemory(create=True) instead.
(cherry picked from commit caa3ef284a2e5e5b9bdd6a9e619804122c842d80)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
Lib/test/_test_multiprocessing.py