@@ -571,7 +571,7 @@ def test_quantile_item_cache(self, using_array_manager):
571
571
572
572
class TestQuantileExtensionDtype :
573
573
# TODO: tests for axis=1?
574
- # TODO: empty case? might as well do dt64 and td64 here too
574
+ # TODO: empty case?
575
575
576
576
@pytest .fixture (
577
577
params = [
@@ -581,6 +581,7 @@ class TestQuantileExtensionDtype:
581
581
),
582
582
pd .period_range ("2016-01-01" , periods = 9 , freq = "D" ),
583
583
pd .date_range ("2016-01-01" , periods = 9 , tz = "US/Pacific" ),
584
+ pd .timedelta_range ("1 Day" , periods = 9 ),
584
585
pd .array (np .arange (9 ), dtype = "Int64" ),
585
586
pd .array (np .arange (9 ), dtype = "Float64" ),
586
587
],
@@ -650,7 +651,18 @@ def test_quantile_ea_with_na(self, obj, index):
650
651
651
652
# TODO(GH#39763): filtering can be removed after GH#39763 is fixed
652
653
@pytest .mark .filterwarnings ("ignore:Using .astype to convert:FutureWarning" )
653
- def test_quantile_ea_all_na (self , obj , index , frame_or_series ):
654
+ def test_quantile_ea_all_na (
655
+ self , obj , index , frame_or_series , using_array_manager , request
656
+ ):
657
+ if (
658
+ using_array_manager
659
+ and frame_or_series is DataFrame
660
+ and index .dtype == "m8[ns]"
661
+ ):
662
+ mark = pytest .mark .xfail (
663
+ reason = "obj.astype fails bc obj is incorrectly dt64 at this point"
664
+ )
665
+ request .node .add_marker (mark )
654
666
655
667
obj .iloc [:] = index ._na_value
656
668
0 commit comments