@@ -1408,8 +1408,8 @@ def test_real_and_imag(self):
1408
1408
(
1409
1409
method ("all" ),
1410
1410
method ("any" ),
1411
- method ("argmax" ),
1412
- method ("argmin" ),
1411
+ method ("argmax" , axis = 0 ),
1412
+ method ("argmin" , axis = 0 ),
1413
1413
method ("argsort" ),
1414
1414
method ("cumprod" ),
1415
1415
method ("cumsum" ),
@@ -1427,9 +1427,6 @@ def test_real_and_imag(self):
1427
1427
),
1428
1428
ids = repr ,
1429
1429
)
1430
- @pytest .mark .filterwarnings (
1431
- "ignore:Behaviour of argmin/argmax with neither dim nor :DeprecationWarning"
1432
- )
1433
1430
def test_aggregation (self , func , dtype ):
1434
1431
array = np .linspace (0 , 1 , 10 ).astype (dtype ) * (
1435
1432
unit_registry .m if func .name != "cumprod" else unit_registry .dimensionless
@@ -2280,8 +2277,8 @@ def test_repr(self, func, variant, dtype):
2280
2277
function ("cumprod" ),
2281
2278
method ("all" ),
2282
2279
method ("any" ),
2283
- method ("argmax" ),
2284
- method ("argmin" ),
2280
+ method ("argmax" , axis = 0 ),
2281
+ method ("argmin" , axis = 0 ),
2285
2282
method ("max" ),
2286
2283
method ("mean" ),
2287
2284
method ("median" ),
@@ -2298,9 +2295,6 @@ def test_repr(self, func, variant, dtype):
2298
2295
),
2299
2296
ids = repr ,
2300
2297
)
2301
- @pytest .mark .filterwarnings (
2302
- "ignore:Behaviour of argmin/argmax with neither dim nor :DeprecationWarning"
2303
- )
2304
2298
def test_aggregation (self , func , dtype ):
2305
2299
array = np .arange (10 ).astype (dtype ) * (
2306
2300
unit_registry .m if func .name != "cumprod" else unit_registry .dimensionless
@@ -3853,8 +3847,8 @@ def test_repr(self, func, variant, dtype):
3853
3847
function ("cumprod" ),
3854
3848
method ("all" ),
3855
3849
method ("any" ),
3856
- method ("argmax" ),
3857
- method ("argmin" ),
3850
+ method ("argmax" , axis = 0 ),
3851
+ method ("argmin" , axis = 0 ),
3858
3852
method ("max" ),
3859
3853
method ("min" ),
3860
3854
method ("mean" ),
@@ -3871,12 +3865,6 @@ def test_repr(self, func, variant, dtype):
3871
3865
),
3872
3866
ids = repr ,
3873
3867
)
3874
- @pytest .mark .filterwarnings (
3875
- "ignore:Once the behaviour of DataArray:DeprecationWarning"
3876
- )
3877
- @pytest .mark .filterwarnings (
3878
- "ignore:Behaviour of argmin/argmax with neither dim nor :DeprecationWarning"
3879
- )
3880
3868
def test_aggregation (self , func , dtype ):
3881
3869
unit_a , unit_b = (
3882
3870
(unit_registry .Pa , unit_registry .degK )
0 commit comments