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

Update numpy.warnings to use built-in warnings module #18

Open
quattro opened this issue Jun 26, 2023 · 0 comments
Open

Update numpy.warnings to use built-in warnings module #18

quattro opened this issue Jun 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@quattro
Copy link
Contributor

quattro commented Jun 26, 2023

Numpy dropped the numpy.warnings sub-module in version 1.24. It looks like it was just an alias for the built-in module warnings, so we can swap it out as-is. This affects the code here:

with np.warnings.catch_warnings():

@quattro quattro added the bug Something isn't working label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants