bpo-38169: Increase code coverage for SharedMemory and ShareableList (GH-16139)

2 files changed