Skip to content

Commit 4896680

Browse files
authored
Fix skip in entrypoints backport tests (#487)
1 parent 90ef3aa commit 4896680

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/release.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Enhancements
2020
Fix
2121
~~~
2222

23+
* Fix skip of entry points backport tests
24+
By :user:`Elliott Sales de Andrade <QuLogic>`, :issue:`487`.
25+
2326
Maintenance
2427
~~~~~~~~~~~
2528

numcodecs/tests/test_entrypoints_backport.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import numcodecs.registry
1010

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

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

0 commit comments

Comments
 (0)