(self)
| 6341 | |
| 6342 | @pytest.mark.filterwarnings("ignore:Once the behaviour of DataArray:FutureWarning") |
| 6343 | def test_reduce_argmin(self) -> None: |
| 6344 | # regression test for #205 |
| 6345 | ds = Dataset({"a": ("x", [0, 1])}) |
| 6346 | expected = Dataset({"a": ([], 0)}) |
| 6347 | actual = ds.argmin() |
| 6348 | assert_identical(expected, actual) |
| 6349 | |
| 6350 | actual = ds.argmin("x") |
| 6351 | assert_identical(expected, actual) |
| 6352 | |
| 6353 | def test_reduce_scalars(self) -> None: |
| 6354 | ds = Dataset({"x": ("a", [2, 2]), "y": 2, "z": ("b", [2])}) |
nothing calls this directly
no test coverage detected