Skip to content

fix tests

c745802
Select commit
Loading
Failed to load commit list.
Merged

feat: support np.random.Generator #3983

fix tests
c745802
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 20, 2026 in 0s

78.21% (target 75.00%)

View this Pull Request on Codecov

78.21% (target 75.00%)

Details

Codecov Report

❌ Patch coverage is 92.30769% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.21%. Comparing base (af57cff) to head (c745802).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/scanpy/plotting/_tools/paga.py 68.96% 9 Missing ⚠️
src/scanpy/_utils/random.py 88.88% 7 Missing ⚠️
src/scanpy/tools/_draw_graph.py 78.57% 6 Missing ⚠️
src/scanpy/neighbors/__init__.py 89.47% 2 Missing ⚠️
src/scanpy/preprocessing/_pca/__init__.py 87.50% 1 Missing ⚠️
src/scanpy/tools/_ingest.py 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3983      +/-   ##
==========================================
+ Coverage   77.96%   78.21%   +0.24%     
==========================================
  Files         118      119       +1     
  Lines       12517    12676     +159     
==========================================
+ Hits         9759     9914     +155     
- Misses       2758     2762       +4     
Files with missing lines Coverage Δ
src/scanpy/_docs.py 100.00% <100.00%> (ø)
src/scanpy/datasets/_datasets.py 91.26% <100.00%> (+0.36%) ⬆️
src/scanpy/experimental/_docs.py 100.00% <ø> (ø)
src/scanpy/experimental/pp/_normalization.py 94.18% <100.00%> (+0.13%) ⬆️
src/scanpy/experimental/pp/_recipes.py 100.00% <100.00%> (ø)
src/scanpy/preprocessing/_deprecated/sampling.py 100.00% <100.00%> (ø)
src/scanpy/preprocessing/_pca/_compat.py 100.00% <100.00%> (ø)
src/scanpy/preprocessing/_recipes.py 91.07% <100.00%> (+0.33%) ⬆️
src/scanpy/preprocessing/_scrublet/__init__.py 97.05% <100.00%> (+0.31%) ⬆️
src/scanpy/preprocessing/_scrublet/core.py 92.81% <100.00%> (+0.09%) ⬆️
... and 19 more

... and 2 files with indirect coverage changes