def METHOD_NAME(self):
    # memory is freed when array2 is deleted, as tensor is consumed
    array = cupy.empty(10)
    tensor = array.toDlpack()
    assert "\"dltensor\"" in str(tensor)
    array2 = cupy.fromDlpack(tensor)
    assert "\"used_dltensor\"" in str(tensor)
    assert self.pool.n_free_blocks() == 0
    del array
    assert self.pool.n_free_blocks() == 0
    del array2
    assert self.pool.n_free_blocks() == 1
    del tensor
    assert self.pool.n_free_blocks() == 1