@@ -235,13 +235,13 @@ def test_da_groupby_quantile() -> None:
235
235
dims = ("x" , "y" ),
236
236
)
237
237
238
- actual_x = array .groupby ("x" ).quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
238
+ actual_x = array .groupby ("x" ).quantile (0 , dim = ...)
239
239
expected_x = xr .DataArray (
240
240
data = [1 , 4 ], coords = {"x" : [1 , 2 ], "quantile" : 0 }, dims = "x"
241
241
)
242
242
assert_identical (expected_x , actual_x )
243
243
244
- actual_y = array .groupby ("y" ).quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
244
+ actual_y = array .groupby ("y" ).quantile (0 , dim = ...)
245
245
expected_y = xr .DataArray (
246
246
data = [1 , 22 ], coords = {"y" : [0 , 1 ], "quantile" : 0 }, dims = "y"
247
247
)
@@ -272,7 +272,7 @@ def test_da_groupby_quantile() -> None:
272
272
)
273
273
g = foo .groupby (foo .time .dt .month )
274
274
275
- actual = g .quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
275
+ actual = g .quantile (0 , dim = ...)
276
276
expected = xr .DataArray (
277
277
data = [
278
278
0.0 ,
@@ -356,11 +356,11 @@ def test_ds_groupby_quantile() -> None:
356
356
coords = {"x" : [1 , 1 , 1 , 2 , 2 ], "y" : [0 , 0 , 1 ]},
357
357
)
358
358
359
- actual_x = ds .groupby ("x" ).quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
359
+ actual_x = ds .groupby ("x" ).quantile (0 , dim = ...)
360
360
expected_x = xr .Dataset ({"a" : ("x" , [1 , 4 ])}, coords = {"x" : [1 , 2 ], "quantile" : 0 })
361
361
assert_identical (expected_x , actual_x )
362
362
363
- actual_y = ds .groupby ("y" ).quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
363
+ actual_y = ds .groupby ("y" ).quantile (0 , dim = ...)
364
364
expected_y = xr .Dataset ({"a" : ("y" , [1 , 22 ])}, coords = {"y" : [0 , 1 ], "quantile" : 0 })
365
365
assert_identical (expected_y , actual_y )
366
366
@@ -386,7 +386,7 @@ def test_ds_groupby_quantile() -> None:
386
386
)
387
387
g = foo .groupby (foo .time .dt .month )
388
388
389
- actual = g .quantile (0 , dim = ...) # type: ignore[arg-type] # https://github.com/python/mypy/issues/7818
389
+ actual = g .quantile (0 , dim = ...)
390
390
expected = xr .Dataset (
391
391
{
392
392
"a" : (
0 commit comments