Skip to content

Commit

Permalink
Add missing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Sep 6, 2024
1 parent a64d54d commit 5ad2d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/tests/test_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_copy_from_buffer():
buf2 = cudabuf.copy(dest)
assert buf2.device_type == pa.DeviceAllocationType.CUDA
cudabuf2 = cuda.CudaBuffer.from_buffer(buf2)
cudabuf2.size == cudabuf.size
assert cudabuf2.size == cudabuf.size
assert not cudabuf2.is_cpu
assert cudabuf2.device_type == pa.DeviceAllocationType.CUDA

Expand Down

0 comments on commit 5ad2d31

Please sign in to comment.