Skip to content

Commit bac11d4

Browse files
committed
Add skipif for transform/test_numba
1 parent a0cdf04 commit bac11d4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pandas/tests/groupby/transform/test_numba.py

Lines changed: 11 additions & 1 deletion
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
from pandas.errors import NumbaUtilError
56

67
from pandas import (
@@ -9,8 +10,17 @@
910
option_context,
1011
)
1112
import pandas._testing as tm
13+
from pandas.util.version import Version
1214

13-
pytestmark = pytest.mark.single_cpu
15+
pytestmark = [pytest.mark.single_cpu]
16+
17+
numba = pytest.importorskip("numba")
18+
pytestmark.append(
19+
pytest.mark.skipif(
20+
Version(numba.__version__) == Version("0.61") and is_platform_arm(),
21+
reason=f"Segfaults on ARM platforms with numba {numba.__version__}",
22+
)
23+
)
1424

1525

1626
def test_correct_function_signature():

0 commit comments

Comments
 (0)