Skip to content

Commit 59869f2

Browse files
committed
Skip test_info_compute_numba
1 parent acb7daf commit 59869f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/frame/methods/test_info.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
HAS_PYARROW,
1212
IS64,
1313
PYPY,
14+
is_platform_arm,
1415
)
1516

1617
from pandas import (
@@ -23,6 +24,7 @@
2324
option_context,
2425
)
2526
import pandas._testing as tm
27+
from pandas.util.version import Version
2628

2729

2830
@pytest.fixture
@@ -544,7 +546,9 @@ def test_memory_usage_empty_no_warning(using_infer_string):
544546
@pytest.mark.single_cpu
545547
def test_info_compute_numba():
546548
# GH#51922
547-
pytest.importorskip("numba")
549+
numba = pytest.importorskip("numba")
550+
if Version(numba.__version__) == Version("0.61") and is_platform_arm():
551+
pytest.skip(f"Segfaults on ARM platforms with numba {numba.__version__}")
548552
df = DataFrame([[1, 2], [3, 4]])
549553

550554
with option_context("compute.use_numba", True):

0 commit comments

Comments
 (0)