12
12
from pandas .core .util .numba_ import NUMBA_FUNC_CACHE
13
13
14
14
15
- @td .skip_if_no ("numba" , "0.46.0" )
15
+ @td .skip_if_no ("numba" )
16
16
def test_correct_function_signature ():
17
17
def incorrect_function (x ):
18
18
return x + 1
@@ -28,7 +28,7 @@ def incorrect_function(x):
28
28
data .groupby ("key" )["data" ].transform (incorrect_function , engine = "numba" )
29
29
30
30
31
- @td .skip_if_no ("numba" , "0.46.0" )
31
+ @td .skip_if_no ("numba" )
32
32
def test_check_nopython_kwargs ():
33
33
def incorrect_function (x , ** kwargs ):
34
34
return x + 1
@@ -44,7 +44,7 @@ def incorrect_function(x, **kwargs):
44
44
data .groupby ("key" )["data" ].transform (incorrect_function , engine = "numba" , a = 1 )
45
45
46
46
47
- @td .skip_if_no ("numba" , "0.46.0" )
47
+ @td .skip_if_no ("numba" )
48
48
@pytest .mark .filterwarnings ("ignore:\\ nThe keyword argument" )
49
49
# Filter warnings when parallel=True and the function can't be parallelized by Numba
50
50
@pytest .mark .parametrize ("jit" , [True , False ])
@@ -73,7 +73,7 @@ def func(values, index):
73
73
tm .assert_equal (result , expected )
74
74
75
75
76
- @td .skip_if_no ("numba" , "0.46.0" )
76
+ @td .skip_if_no ("numba" )
77
77
@pytest .mark .filterwarnings ("ignore:\\ nThe keyword argument" )
78
78
# Filter warnings when parallel=True and the function can't be parallelized by Numba
79
79
@pytest .mark .parametrize ("jit" , [True , False ])
@@ -118,7 +118,7 @@ def func_2(values, index):
118
118
tm .assert_equal (result , expected )
119
119
120
120
121
- @td .skip_if_no ("numba" , "0.46.0" )
121
+ @td .skip_if_no ("numba" )
122
122
def test_use_global_config ():
123
123
def func_1 (values , index ):
124
124
return values + 1
@@ -133,7 +133,7 @@ def func_1(values, index):
133
133
tm .assert_frame_equal (expected , result )
134
134
135
135
136
- @td .skip_if_no ("numba" , "0.46.0" )
136
+ @td .skip_if_no ("numba" )
137
137
@pytest .mark .parametrize (
138
138
"agg_func" , [["min" , "max" ], "min" , {"B" : ["min" , "max" ], "C" : "sum" }]
139
139
)
@@ -149,7 +149,7 @@ def test_multifunc_notimplimented(agg_func):
149
149
grouped [1 ].transform (agg_func , engine = "numba" )
150
150
151
151
152
- @td .skip_if_no ("numba" , "0.46.0" )
152
+ @td .skip_if_no ("numba" )
153
153
def test_args_not_cached ():
154
154
# GH 41647
155
155
def sum_last (values , index , n ):
@@ -166,7 +166,7 @@ def sum_last(values, index, n):
166
166
tm .assert_series_equal (result , expected )
167
167
168
168
169
- @td .skip_if_no ("numba" , "0.46.0" )
169
+ @td .skip_if_no ("numba" )
170
170
def test_index_data_correctly_passed ():
171
171
# GH 43133
172
172
def f (values , index ):
0 commit comments