You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use coverage run instead of pytest --cov for accurate import-time coverage
The pytest11 entry point (`zarr = "zarr.testing"`) imports 76 zarr modules
during plugin loading, before pytest-cov starts measuring. This caused all
module-level code (class definitions, imports, decorators) to appear uncovered,
dropping reported coverage well below actual test coverage.
`coverage run -m pytest` starts tracing before any imports, resolving the issue.
0 commit comments