zarr-developers / numcodecs

A Python package providing buffer compression and transformation codecs for use in data storage and communication applications.
http://numcodecs.readthedocs.io
MIT License
125 stars 87 forks source link

Fix skip in entrypoints backport tests #487

Closed QuLogic closed 10 months ago

QuLogic commented 10 months ago

If importlib_metadata is not installed, then you get an error in collection:

Using pytest.skip outside of a test will skip the entire module. If that's your intention, pass `allow_module_level=True`. If you want to skip a specific test or an entire class, use the @pytest.mark.skip or @pytest.mark.skipif decorators.
joshmoore commented 10 months ago

Many thanks, @QuLogic!