Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions python/pyarrow/tests/test_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,6 @@ def test_foreign_buffer():
del hbuf
fbuf.copy_to_host()

# test deallocating the host buffer memory making it inaccessible
hbuf = cuda.new_host_buffer(size * dtype.itemsize)
fbuf = ctx.foreign_buffer(hbuf.address, hbuf.size)
del hbuf
with pytest.raises(pa.ArrowIOError,
match=('Cuda error ')):
fbuf.copy_to_host()


@pytest.mark.parametrize("size", [0, 1, 1000])
def test_CudaBuffer(size):
Expand Down
Loading