Skip to content

Commit 8944a02

Browse files
committed
Add skipif to window/test_numba
1 parent 698bb2a commit 8944a02

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pandas/tests/window/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
import pandas.util._test_decorators as td
67

@@ -11,8 +12,17 @@
1112
to_datetime,
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
@pytest.fixture(params=["single", "table"])

0 commit comments

Comments
 (0)