PyDocs

Nav

Development Tools

ignore_warnings

test.support.warnings_helper

function · Added in 3.8
  • ignore_warnings(*, category)
Suppress warnings that are instances of category, which must be Warning or a subclass. Roughly equivalent to warnings.catch_warnings() with warnings.simplefilter('ignore', category=category). For example:
0 Examples
No examples for test.support.warnings_helper/ignore_warnings.
See Also
No see-alsos for test.support.warnings_helper/ignore_warnings
0 Notes
No notes for ignore_warnings