@@ -869,13 +869,6 @@ def test_argmin_argmax(
869
869
reason = f"{ pa_dtype } only has 2 unique possible values" ,
870
870
)
871
871
)
872
- elif pa .types .is_duration (pa_dtype ):
873
- request .node .add_marker (
874
- pytest .mark .xfail (
875
- raises = pa .ArrowNotImplementedError ,
876
- reason = f"min_max not supported in pyarrow for { pa_dtype } " ,
877
- )
878
- )
879
872
super ().test_argmin_argmax (data_for_sorting , data_missing_for_sorting , na_value )
880
873
881
874
@pytest .mark .parametrize (
@@ -894,21 +887,13 @@ def test_argmin_argmax(
894
887
def test_argreduce_series (
895
888
self , data_missing_for_sorting , op_name , skipna , expected , request
896
889
):
897
- pa_dtype = data_missing_for_sorting .dtype .pyarrow_dtype
898
890
if pa_version_under6p0 and skipna :
899
891
request .node .add_marker (
900
892
pytest .mark .xfail (
901
893
raises = NotImplementedError ,
902
894
reason = "min_max not supported in pyarrow" ,
903
895
)
904
896
)
905
- elif not pa_version_under6p0 and pa .types .is_duration (pa_dtype ) and skipna :
906
- request .node .add_marker (
907
- pytest .mark .xfail (
908
- raises = pa .ArrowNotImplementedError ,
909
- reason = f"min_max not supported in pyarrow for { pa_dtype } " ,
910
- )
911
- )
912
897
super ().test_argreduce_series (
913
898
data_missing_for_sorting , op_name , skipna , expected
914
899
)
0 commit comments