@@ -1587,7 +1587,7 @@ def test_combine_le(self, data_repeated):
1587
1587
1588
1588
def test_combine_add (self , data_repeated , request ):
1589
1589
pa_dtype = next (data_repeated (1 )).dtype .pyarrow_dtype
1590
- if pa .types .is_temporal (pa_dtype ) and pa_dtype != "duration[ns]" :
1590
+ if pa .types .is_temporal (pa_dtype ):
1591
1591
request .node .add_marker (
1592
1592
pytest .mark .xfail (
1593
1593
raises = TypeError ,
@@ -1697,7 +1697,7 @@ def test_arith_series_with_scalar(
1697
1697
elif arrow_temporal_supported :
1698
1698
request .node .add_marker (
1699
1699
pytest .mark .xfail (
1700
- raises = TypeError if pa_dtype != "duration[ns]" else AssertionError ,
1700
+ raises = TypeError ,
1701
1701
reason = (
1702
1702
f"{ all_arithmetic_operators } not supported between"
1703
1703
f"pd.NA and { pa_dtype } Python scalar"
@@ -1763,7 +1763,7 @@ def test_arith_frame_with_scalar(
1763
1763
elif arrow_temporal_supported :
1764
1764
request .node .add_marker (
1765
1765
pytest .mark .xfail (
1766
- raises = TypeError if pa_dtype != "duration[ns]" else AssertionError ,
1766
+ raises = TypeError ,
1767
1767
reason = (
1768
1768
f"{ all_arithmetic_operators } not supported between"
1769
1769
f"pd.NA and { pa_dtype } Python scalar"
@@ -1847,7 +1847,7 @@ def test_arith_series_with_array(
1847
1847
elif arrow_temporal_supported :
1848
1848
request .node .add_marker (
1849
1849
pytest .mark .xfail (
1850
- raises = TypeError if pa_dtype != "duration[ns]" else AssertionError ,
1850
+ raises = TypeError ,
1851
1851
reason = (
1852
1852
f"{ all_arithmetic_operators } not supported between"
1853
1853
f"pd.NA and { pa_dtype } Python scalar"
0 commit comments