Skip to content

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

@quattro

Description

@quattro

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():

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions