method
suppress_warnings.filter(self, category=<class 'Warning'>, message='', module=None)
[source]
Add a new suppressing filter or apply it if the state is entered.
Parameters: |
|
---|
When added within a context, filters are only added inside the context and will be forgotten when the context is exited.
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.testing.suppress_warnings.filter.html