File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1479,7 +1479,7 @@ def test_combine_le(self, data_repeated):
1479
1479
1480
1480
def test_combine_add (self , data_repeated , request ):
1481
1481
pa_dtype = next (data_repeated (1 )).dtype .pyarrow_dtype
1482
- if pa .types .is_temporal (pa_dtype ):
1482
+ if pa .types .is_temporal (pa_dtype ) and pa_dtype != 'duration[ns]' :
1483
1483
request .node .add_marker (
1484
1484
pytest .mark .xfail (
1485
1485
raises = TypeError ,
@@ -1552,7 +1552,7 @@ def test_arith_series_with_scalar(
1552
1552
all_arithmetic_operators in ("__add__" , "__radd__" )
1553
1553
and pa .types .is_duration (pa_dtype )
1554
1554
or all_arithmetic_operators in ("__sub__" , "__rsub__" )
1555
- and pa .types .is_temporal (pa_dtype )
1555
+ and pa .types .is_temporal (pa_dtype ) and pa_dtype != 'duration[ns]'
1556
1556
)
1557
1557
if (
1558
1558
all_arithmetic_operators
You can’t perform that action at this time.
0 commit comments