Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress nonsense
DeprecationWarning
caused by unittest
`unittest.TestCase.assertWarns` in context-manager form has an awkward habit of sticking a `__warningregistry__` attribute on every module in existence, then querying the modules for it later. This interacts poorly with a Numpy 2 deprecation warning trigger for code that's attempting to import functions from modules that became private in Numpy 2. This simply suppresses that particular warning from the test suite.
- Loading branch information