File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
import numpy as np
2
2
import pytest
3
3
4
+ from pandas .compat import is_platform_arm
4
5
import pandas .util ._test_decorators as td
5
6
6
7
import pandas as pd
9
10
Index ,
10
11
)
11
12
import pandas ._testing as tm
13
+ from pandas .util .version import Version
12
14
13
15
pytestmark = [td .skip_if_no ("numba" ), pytest .mark .single_cpu ]
14
16
@@ -19,6 +21,9 @@ def apply_axis(request):
19
21
20
22
21
23
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__ } " )
22
27
func = lambda x : x
23
28
result = float_frame .apply (func , engine = "numba" , axis = apply_axis )
24
29
expected = float_frame .apply (func , engine = "python" , axis = apply_axis )
You can’t perform that action at this time.
0 commit comments