def METHOD_NAME(self):
    """
    When opening an existing but still linked block, data should persist
    """
    block_a = DlgSharedMemory("A")
    data = pickle.dumps(3)
    block_a.buf[0 : len(data)] = data
    block_a.resize(len(data))
    old_size = block_a.size
    block_a.close()
    block_b = DlgSharedMemory("A")
    self.assertEqual(block_b.size, old_size)
    self.assertEqual(block_b.name, "/A")
    self.assertEqual(block_b.buf[:], data)
    block_b.close()
    block_b.unlink()