Skip to content

Commit

Permalink
Fix skip in entrypoints backport tests (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Nov 24, 2023
1 parent 90ef3aa commit 4896680
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Enhancements
Fix
~~~

* Fix skip of entry points backport tests
By :user:`Elliott Sales de Andrade <QuLogic>`, :issue:`487`.

Maintenance
~~~~~~~~~~~

Expand Down
3 changes: 2 additions & 1 deletion numcodecs/tests/test_entrypoints_backport.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
import numcodecs.registry

if not pkgutil.find_loader("importlib_metadata"): # pragma: no cover
pytest.skip("This test module requires importlib_metadata to be installed")
pytest.skip("This test module requires importlib_metadata to be installed",
allow_module_level=True)

here = os.path.abspath(os.path.dirname(__file__))

Expand Down

0 comments on commit 4896680

Please sign in to comment.