checkwarns

Contexts for with statement allowing checks for warnings

ErrorWarnings([record, modules])

ErrorWarnings is deprecated; use nibabel.testing.error_warnings.

IgnoreWarnings([record, modules])

IgnoreWarnings is deprecated; use nibabel.testing.suppress_warnings.

ErrorWarnings

nibabel.checkwarns.ErrorWarnings(record=True, modules=())

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(record=True, modules=())

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