Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused pytest skip #651

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

dstansby
Copy link
Contributor

I originally included the pytest.skip because in rare cases (I think debug builds of Cpython??) docstrings can return None instead of their contents. I think this is rare enough that we don't need to care about it, and it's better just adding a # type: ignore comment instead of a pytest.skip.

I'm hoping this gets code coverage back up to 100% again to fix #646

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.92%. Comparing base (29995e3) to head (018d0c0).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #651      +/-   ##
==========================================
+ Coverage   99.81%   99.92%   +0.11%     
==========================================
  Files          62       62              
  Lines        2712     2721       +9     
==========================================
+ Hits         2707     2719      +12     
+ Misses          5        2       -3     
Files with missing lines Coverage Δ
numcodecs/tests/test_zarr3.py 100.00% <100.00%> (+2.17%) ⬆️

... and 3 files with indirect coverage changes

---- 🚨 Try these New Features:

@jakirkham
Copy link
Member

Thanks David! 🙏

This seems reasonable

If we think we do need this condition, we could also add a # pragma: no cover

@dstansby dstansby merged commit 88660de into zarr-developers:main Nov 19, 2024
26 checks passed
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.

Missing coverage?
2 participants