Skip to content

Commit

Permalink
Rebase main and add mark to skip new tests that require numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Aug 30, 2024
1 parent 0835d3d commit a10801b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/pyarrow/tests/test_extension_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,7 @@ def test_bool8_to_bool_conversion():
assert bool_arr.cast(pa.bool8()) == canonical_bool8_arr


@pytest.mark.numpy
def test_bool8_to_numpy_conversion():
arr = pa.ExtensionArray.from_storage(
pa.bool8(),
Expand Down Expand Up @@ -1866,6 +1867,7 @@ def test_bool8_to_numpy_conversion():
assert arr_to_np_writable.ctypes.data != arr_no_nulls.buffers()[1].address


@pytest.mark.numpy
def test_bool8_from_numpy_conversion():
np_arr_no_nulls = np.array([True, False, True, True], dtype=np.bool_)
canonical_bool8_arr_no_nulls = pa.ExtensionArray.from_storage(
Expand Down

0 comments on commit a10801b

Please sign in to comment.