Skip to content

Commit f43ba26

Browse files
committed
skip test_numba_vs_python_noop
1 parent 2a004cb commit f43ba26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/apply/test_numba.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import numpy as np
22
import pytest
33

4+
from pandas.compat import is_platform_arm
45
import pandas.util._test_decorators as td
56

67
import pandas as pd
@@ -9,6 +10,7 @@
910
Index,
1011
)
1112
import pandas._testing as tm
13+
from pandas.util.version import Version
1214

1315
pytestmark = [td.skip_if_no("numba"), pytest.mark.single_cpu]
1416

@@ -19,6 +21,9 @@ def apply_axis(request):
1921

2022

2123
def test_numba_vs_python_noop(float_frame, apply_axis):
24+
numba = pytest.importorskip("numba")
25+
if Version(numba.__version__) == Version("0.61") and is_platform_arm():
26+
pytest.skip(f"Segfaults on ARM platforms with numba {numba.__version__}")
2227
func = lambda x: x
2328
result = float_frame.apply(func, engine="numba", axis=apply_axis)
2429
expected = float_frame.apply(func, engine="python", axis=apply_axis)

0 commit comments

Comments
 (0)