Skip to content

Fix skip in entrypoints backport tests#487

Merged
joshmoore merged 1 commit intozarr-developers:mainfrom
QuLogic:fix-skip
Nov 24, 2023
Merged

Fix skip in entrypoints backport tests#487
joshmoore merged 1 commit intozarr-developers:mainfrom
QuLogic:fix-skip

Conversation

@QuLogic
Copy link
Copy Markdown
Contributor

@QuLogic QuLogic commented Nov 20, 2023

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.
  • Unit tests and/or doctests in docstrings
  • Tests pass locally
  • [n/a] Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • Docs build locally
  • GitHub Actions CI passes
  • Test coverage to 100% (Codecov passes)

@joshmoore
Copy link
Copy Markdown
Member

Many thanks, @QuLogic!

@joshmoore joshmoore merged commit 4896680 into zarr-developers:main Nov 24, 2023
@QuLogic QuLogic deleted the fix-skip branch November 24, 2023 21:33
DimitriPapadopoulos pushed a commit to DimitriPapadopoulos/numcodecs that referenced this pull request Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants