@@ -1423,17 +1423,7 @@ def test_diff(self, data, periods, request):
1423
1423
@pytest .mark .parametrize ("dropna" , [True , False ])
1424
1424
def test_value_counts (self , all_data , dropna , request ):
1425
1425
pa_dtype = all_data .dtype .pyarrow_dtype
1426
- if (
1427
- pa .types .is_date (pa_dtype )
1428
- or (pa .types .is_timestamp (pa_dtype ) and pa_dtype .tz is None )
1429
- ) and dropna :
1430
- request .node .add_marker (
1431
- pytest .mark .xfail (
1432
- raises = NotImplementedError , # tries casting to i8
1433
- reason = "GH 34986" ,
1434
- )
1435
- )
1436
- elif pa .types .is_duration (pa_dtype ):
1426
+ if pa .types .is_duration (pa_dtype ):
1437
1427
request .node .add_marker (
1438
1428
pytest .mark .xfail (
1439
1429
raises = pa .ArrowNotImplementedError ,
@@ -1444,16 +1434,7 @@ def test_value_counts(self, all_data, dropna, request):
1444
1434
1445
1435
def test_value_counts_with_normalize (self , data , request ):
1446
1436
pa_dtype = data .dtype .pyarrow_dtype
1447
- if pa .types .is_date (pa_dtype ) or (
1448
- pa .types .is_timestamp (pa_dtype ) and pa_dtype .tz is None
1449
- ):
1450
- request .node .add_marker (
1451
- pytest .mark .xfail (
1452
- raises = NotImplementedError , # tries casting to i8
1453
- reason = "GH 34986" ,
1454
- )
1455
- )
1456
- elif pa .types .is_duration (pa_dtype ):
1437
+ if pa .types .is_duration (pa_dtype ):
1457
1438
request .node .add_marker (
1458
1439
pytest .mark .xfail (
1459
1440
raises = pa .ArrowNotImplementedError ,
0 commit comments