We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88cd58 commit caa3ef2Copy full SHA for caa3ef2
Lib/test/_test_multiprocessing.py
@@ -3860,7 +3860,9 @@ class OptionalAttachSharedMemory(shared_memory.SharedMemory):
3860
sms.close()
3861
3862
def test_shared_memory_across_processes(self):
3863
- sms = shared_memory.SharedMemory('test02_tsmap', True, size=512)
+ # bpo-40135: don't define shared memory block's name in case of
3864
+ # the failure when we run multiprocessing tests in parallel.
3865
+ sms = shared_memory.SharedMemory(create=True, size=512)
3866
self.addCleanup(sms.unlink)
3867
3868
# Verify remote attachment to existing block by name is working.
0 commit comments