@@ -571,7 +571,7 @@ def test_quantile_item_cache(self, using_array_manager):
571571
572572class TestQuantileExtensionDtype :
573573 # TODO: tests for axis=1?
574- # TODO: empty case? might as well do dt64 and td64 here too
574+ # TODO: empty case?
575575
576576 @pytest .fixture (
577577 params = [
@@ -581,6 +581,7 @@ class TestQuantileExtensionDtype:
581581 ),
582582 pd .period_range ("2016-01-01" , periods = 9 , freq = "D" ),
583583 pd .date_range ("2016-01-01" , periods = 9 , tz = "US/Pacific" ),
584+ pd .timedelta_range ("1 Day" , periods = 9 ),
584585 pd .array (np .arange (9 ), dtype = "Int64" ),
585586 pd .array (np .arange (9 ), dtype = "Float64" ),
586587 ],
@@ -650,7 +651,18 @@ def test_quantile_ea_with_na(self, obj, index):
650651
651652 # TODO(GH#39763): filtering can be removed after GH#39763 is fixed
652653 @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 )
654666
655667 obj .iloc [:] = index ._na_value
656668
0 commit comments