From a10801b9bd96fb410b3a9ec8ed11e33a1d782974 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 fa43f8800f04c..b74eca75bdca9 100644 --- a/python/pyarrow/tests/test_extension_type.py +++ b/python/pyarrow/tests/test_extension_type.py @@ -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(), @@ -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(