checkwarns

Contexts for with statement allowing checks for warnings

ErrorWarnings(\*args, \*\*kwargs) ErrorWarnings is deprecated; use nibabel.testing.error_warnings.
IgnoreWarnings(\*args, \*\*kwargs) IgnoreWarnings is deprecated; use nibabel.testing.suppress_warnings.

ErrorWarnings

nibabel.checkwarns.ErrorWarnings(*args, **kwargs)

ErrorWarnings is deprecated; use nibabel.testing.error_warnings.

  • deprecated from version: 2.1.0
  • Will raise <class ‘nibabel.deprecator.ExpiredDeprecationError’> as of version: 3.0.0

IgnoreWarnings

nibabel.checkwarns.IgnoreWarnings(*args, **kwargs)

IgnoreWarnings is deprecated; use nibabel.testing.suppress_warnings.

  • deprecated from version: 2.1.0
  • Will raise <class ‘nibabel.deprecator.ExpiredDeprecationError’> as of version: 3.0.0