()
| 89 | |
| 90 | |
| 91 | def test_range_index_set_xindex() -> None: |
| 92 | coords = xr.Coordinates({"x": np.arange(0.0, 1.0, 0.1)}, indexes={}) |
| 93 | ds = xr.Dataset(coords=coords) |
| 94 | |
| 95 | with pytest.raises( |
| 96 | NotImplementedError, match=r"cannot create.*RangeIndex.*existing coordinate" |
| 97 | ): |
| 98 | ds.set_xindex("x", RangeIndex) |
| 99 | |
| 100 | |
| 101 | def test_range_index_isel() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…