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 26, 2024
1 parent 652073a commit efcb023
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 @@ -1785,6 +1785,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 @@ -1825,6 +1826,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 efcb023

Please sign in to comment.