Skip to content

Commit 5e859ec

Browse files
committed
add skipif for test_numba
1 parent 3ceadab commit 5e859ec

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pandas/tests/groupby/aggregate/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 (
@@ -11,8 +12,17 @@
1112
option_context,
1213
)
1314
import pandas._testing as tm
15+
from pandas.util.version import Version
1416

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

1727

1828
def test_correct_function_signature():

0 commit comments

Comments
 (0)