Skip to content

Commit

Permalink
WIP: remove stale code, add whats-new.rst entry
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Nov 9, 2021
1 parent ee89d92 commit 823778d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Bug fixes
~~~~~~~~~
- Fix plot.line crash for data of shape ``(1, N)`` in _title_for_slice on format_item (:pull:`5948`).
By `Sebastian Weigand <https://github.com/s-weigand>`_.
- Fix a regression in the removal of duplicate backend entrypoints (:issue:`5944`, :pull:`5959`)
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.

Documentation
~~~~~~~~~~~~~
Expand All @@ -49,6 +51,10 @@ Documentation
Internal Changes
~~~~~~~~~~~~~~~~

- Use ``importlib`` to replace functionality of ``pkg_resources`` in
backend plugins tests. (:pull:`5959`).
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.


.. _whats-new.0.20.1:

Expand Down
1 change: 0 additions & 1 deletion xarray/tests/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def dummy_duplicated_entrypoints():

@pytest.mark.filterwarnings("ignore:Found")
def test_remove_duplicates(dummy_duplicated_entrypoints) -> None:
entrypoints = plugins.remove_duplicates(dummy_duplicated_entrypoints)
with pytest.warns(RuntimeWarning):
entrypoints = plugins.remove_duplicates(dummy_duplicated_entrypoints)
assert len(entrypoints) == 2
Expand Down

0 comments on commit 823778d

Please sign in to comment.