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

TEST: Suppress new numpy warning on nan-to-int cast #1118

Merged
merged 2 commits into from Jun 18, 2022

Conversation

effigies
Copy link
Member

numpy/numpy#21437 does not require us to change our behavior, but does require us to change our expectations of what warnings are raised. Since this is quite an edge case, it seems to make more sense to suppress the warning and eventually expect it when numpy 1.24 becomes our minimum.

@matthew-brett What do you think?

@codecov
Copy link

codecov bot commented Jun 18, 2022

Codecov Report

Merging #1118 (7d3979d) into maint/4.0.x (f469c68) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           maint/4.0.x    #1118   +/-   ##
============================================
  Coverage        91.76%   91.76%           
============================================
  Files              101      101           
  Lines            12380    12380           
  Branches          2423     2423           
============================================
  Hits             11360    11360           
  Misses             693      693           
  Partials           327      327           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f469c68...7d3979d. Read the comment docs.

@matthew-brett
Copy link
Member

Sorry - I didn't check - but our pre-release checks will hit the relevant branch?

@effigies
Copy link
Member Author

Sorry - I didn't check - but our pre-release checks will hit the relevant branch?

Relevant branch of numpy? Yes, that commit is in nightly, which is why pre-release tests are failing right now.

Not sure if I'm interpreting correctly, though, so please feel free to clarify your question.

@matthew-brett
Copy link
Member

Yes, sorry - that's what I meant.

@matthew-brett matthew-brett merged commit 215f7ae into nipy:maint/4.0.x Jun 18, 2022
@effigies effigies deleted the test/numpy_1.24-dev branch June 18, 2022 15:52
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.

None yet

2 participants