checkwarns¶
Contexts for with statement allowing checks for warnings
ErrorWarnings(*args, **kwargs) |
|
IgnoreWarnings(*args, **kwargs) |
ErrorWarnings¶
-
class
nibabel.checkwarns.ErrorWarnings(*args, **kwargs)¶ Bases:
nibabel.testing.error_warnings-
__init__(*args, **kwargs)¶ Specify whether to record warnings and if an alternative module should be used other than sys.modules[‘warnings’].
For compatibility with Python 3.0, please consider all arguments to be keyword-only.
-
IgnoreWarnings¶
-
class
nibabel.checkwarns.IgnoreWarnings(*args, **kwargs)¶ Bases:
nibabel.testing.suppress_warnings-
__init__(*args, **kwargs)¶ Specify whether to record warnings and if an alternative module should be used other than sys.modules[‘warnings’].
For compatibility with Python 3.0, please consider all arguments to be keyword-only.
-