From efcb0232c33ea88ef8138b644a0b29bff043034c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Mon, 26 Aug 2024 16:20:05 +0200 Subject: [PATCH] Rebase main and add mark to skip new tests that require numpy --- python/pyarrow/tests/test_extension_type.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/pyarrow/tests/test_extension_type.py b/python/pyarrow/tests/test_extension_type.py index a5bd5c3eea517..8f6fc2f77cd98 100644 --- a/python/pyarrow/tests/test_extension_type.py +++ b/python/pyarrow/tests/test_extension_type.py @@ -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(), @@ -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(