@@ -1838,7 +1838,10 @@ def test_squeeze(self, dtype):
1838
1838
"func" ,
1839
1839
(
1840
1840
method ("coarsen" , windows = {"y" : 2 }, func = np .mean ),
1841
- method ("quantile" , q = [0.25 , 0.75 ]),
1841
+ pytest .param (
1842
+ method ("quantile" , q = [0.25 , 0.75 ]),
1843
+ marks = pytest .mark .xfail (reason = "nanquantile not implemented" ),
1844
+ ),
1842
1845
pytest .param (
1843
1846
method ("rank" , dim = "x" ),
1844
1847
marks = pytest .mark .xfail (reason = "rank not implemented for non-ndarray" ),
@@ -3401,7 +3404,10 @@ def test_stacking_reordering(self, func, dtype):
3401
3404
method ("diff" , dim = "x" ),
3402
3405
method ("differentiate" , coord = "x" ),
3403
3406
method ("integrate" , dim = "x" ),
3404
- method ("quantile" , q = [0.25 , 0.75 ]),
3407
+ pytest .param (
3408
+ method ("quantile" , q = [0.25 , 0.75 ]),
3409
+ marks = pytest .mark .xfail (reason = "nanquantile not implemented" ),
3410
+ ),
3405
3411
method ("reduce" , func = np .sum , dim = "x" ),
3406
3412
pytest .param (
3407
3413
lambda x : x .dot (x ),
@@ -3491,7 +3497,10 @@ def test_resample(self, dtype):
3491
3497
method ("assign_coords" , z = (["x" ], np .arange (5 ) * unit_registry .s )),
3492
3498
method ("first" ),
3493
3499
method ("last" ),
3494
- method ("quantile" , q = np .array ([0.25 , 0.5 , 0.75 ]), dim = "x" ),
3500
+ pytest .param (
3501
+ method ("quantile" , q = [0.25 , 0.5 , 0.75 ], dim = "x" ),
3502
+ marks = pytest .mark .xfail (reason = "nanquantile not implemented" ),
3503
+ ),
3495
3504
),
3496
3505
ids = repr ,
3497
3506
)
@@ -4929,7 +4938,10 @@ def test_reindex_like(self, unit, error, dtype):
4929
4938
method ("diff" , dim = "x" ),
4930
4939
method ("differentiate" , coord = "x" ),
4931
4940
method ("integrate" , coord = "x" ),
4932
- method ("quantile" , q = [0.25 , 0.75 ]),
4941
+ pytest .param (
4942
+ method ("quantile" , q = [0.25 , 0.75 ]),
4943
+ marks = pytest .mark .xfail (reason = "nanquantile not implemented" ),
4944
+ ),
4933
4945
method ("reduce" , func = np .sum , dim = "x" ),
4934
4946
method ("map" , np .fabs ),
4935
4947
),
@@ -5039,7 +5051,10 @@ def test_resample(self, dtype):
5039
5051
method ("assign_coords" , v = ("x" , np .arange (10 ) * unit_registry .s )),
5040
5052
method ("first" ),
5041
5053
method ("last" ),
5042
- method ("quantile" , q = [0.25 , 0.5 , 0.75 ], dim = "x" ),
5054
+ pytest .param (
5055
+ method ("quantile" , q = [0.25 , 0.5 , 0.75 ], dim = "x" ),
5056
+ marks = pytest .mark .xfail (reason = "nanquantile not implemented" ),
5057
+ ),
5043
5058
),
5044
5059
ids = repr ,
5045
5060
)
0 commit comments