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

fix: histogram validation test for numpy 2.0 #484

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

alexander-held
Copy link
Member

The histogram validation prints indices slightly differently in numpy 2.0 ([np.int64(1)]), which caused a test to fail. This is fixed here.

* fix the way histogram indices are represented for numpy 2.0
* updated pre-commit

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7167074) to head (606e69c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #484   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2093      2093           
  Branches       346       346           
=========================================
  Hits          2093      2093           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexander-held alexander-held merged commit 3a9c0fa into master Aug 15, 2024
8 checks passed
@alexander-held alexander-held deleted the fix/numpy-2-histo-validate branch August 15, 2024 13:31
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.

1 participant