Skip to content

Commit

Permalink
add additional assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 30, 2024
1 parent 9a1c54b commit b46a237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyarrow/tests/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_buffer_device():
assert buf.device_type == pa.DeviceAllocationType.CPU
assert isinstance(buf.device, pa.Device)
assert isinstance(buf.memory_manager, pa.MemoryManager)
assert buf.is_cpu
assert buf.device.is_cpu
assert buf.device == pa.default_cpu_memory_manager().device
assert buf.memory_manager.is_cpu

0 comments on commit b46a237

Please sign in to comment.