Skip to content

Commit 61ca8c7

Browse files
committed
fix mypy and add pull number to whats-new.rst
1 parent c3d2665 commit 61ca8c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/whats-new.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Bug Fixes
2929
- Ensure that ``keep_attrs='drop'`` and ``keep_attrs=False`` remove attrs from result, even when there is
3030
only one xarray object given to ``apply_ufunc`` (:issue:`10982` :pull:`10997`).
3131
By `Julia Signell <https://github.com/jsignell>`_.
32-
- Forbid child names containing ``/`` in ``DataTree`` objects (:issue:`#9978` :issue:`#9490`).
32+
- Forbid child names containing ``/`` in ``DataTree`` objects (:issue:`#9978` :issue:`#9490` :pull:`#11014`).
3333
By `Ewan Short <https://github.com/eshort0401>`_.
3434

3535
Documentation

xarray/tests/test_datatree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_child_containing_slashes(self) -> None:
149149
with pytest.raises(ValueError, match=message):
150150
dt: DataTree = DataTree(dataset=ds, children={"x/y": DataTree()})
151151
with pytest.raises(ValueError, match=message):
152-
dt: DataTree = DataTree(dataset=ds, children={"x/y": DataTree()})
152+
dt = DataTree(dataset=ds, children={"x/y": DataTree()})
153153
dt.children = {"x/y": DataTree()}
154154

155155

0 commit comments

Comments
 (0)