@@ -1437,17 +1437,7 @@ def test_diff(self, data, periods, request):
1437
1437
@pytest .mark .parametrize ("dropna" , [True , False ])
1438
1438
def test_value_counts (self , all_data , dropna , request ):
1439
1439
pa_dtype = all_data .dtype .pyarrow_dtype
1440
- if (
1441
- pa .types .is_date (pa_dtype )
1442
- or (pa .types .is_timestamp (pa_dtype ) and pa_dtype .tz is None )
1443
- ) and dropna :
1444
- request .node .add_marker (
1445
- pytest .mark .xfail (
1446
- raises = NotImplementedError , # tries casting to i8
1447
- reason = "GH 34986" ,
1448
- )
1449
- )
1450
- elif pa .types .is_duration (pa_dtype ):
1440
+ if pa .types .is_duration (pa_dtype ):
1451
1441
request .node .add_marker (
1452
1442
pytest .mark .xfail (
1453
1443
raises = pa .ArrowNotImplementedError ,
@@ -1458,16 +1448,7 @@ def test_value_counts(self, all_data, dropna, request):
1458
1448
1459
1449
def test_value_counts_with_normalize (self , data , request ):
1460
1450
pa_dtype = data .dtype .pyarrow_dtype
1461
- if pa .types .is_date (pa_dtype ) or (
1462
- pa .types .is_timestamp (pa_dtype ) and pa_dtype .tz is None
1463
- ):
1464
- request .node .add_marker (
1465
- pytest .mark .xfail (
1466
- raises = NotImplementedError , # tries casting to i8
1467
- reason = "GH 34986" ,
1468
- )
1469
- )
1470
- elif pa .types .is_duration (pa_dtype ):
1451
+ if pa .types .is_duration (pa_dtype ):
1471
1452
request .node .add_marker (
1472
1453
pytest .mark .xfail (
1473
1454
raises = pa .ArrowNotImplementedError ,
0 commit comments