Skip to content

Commit aaa94de

Browse files
committed
skipif for test_online
1 parent f9ba912 commit aaa94de

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

pandas/tests/window/test_online.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
import numpy as np
22
import pytest
33

4+
from pandas.compat import is_platform_arm
5+
46
from pandas import (
57
DataFrame,
68
Series,
79
)
810
import pandas._testing as tm
11+
from pandas.util.version import Version
912

10-
pytestmark = pytest.mark.single_cpu
13+
pytestmark = [pytest.mark.single_cpu]
1114

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

1423

1524
@pytest.mark.filterwarnings("ignore")

0 commit comments

Comments
 (0)