plasmapy.utils.pytest_helpers.exceptions

Classes

RunTestError Base exception for test failures.
UnexpectedResultError Exception for when the actual result differs from the expected result.
InconsistentTypeError Exception for when the type of the actual result differs from the type of the expected result.
MissingExceptionError Exception for when an expected exception is not raised.
UnexpectedExceptionError Exception for when an exception is expected, but a different exception is raised instead.
UnexpectedResultError Exception for when the actual result differs from the expected result.
MissingExceptionError Exception for when an expected exception is not raised.
MissingWarningError Exception for when a warning is expected to be issued, but isn’t.
IncorrectResultError Exception for when the actual result differs from the expected result by more than the allowed tolerance.
InvalidTestError Exception for when the inputs to a test are not valid.

Class Inheritance Diagram

Inheritance diagram of plasmapy.utils.pytest_helpers.exceptions.RunTestError, plasmapy.utils.pytest_helpers.exceptions.UnexpectedResultError, plasmapy.utils.pytest_helpers.exceptions.InconsistentTypeError, plasmapy.utils.pytest_helpers.exceptions.MissingExceptionError, plasmapy.utils.pytest_helpers.exceptions.UnexpectedExceptionError, plasmapy.utils.pytest_helpers.exceptions.UnexpectedResultError, plasmapy.utils.pytest_helpers.exceptions.MissingExceptionError, plasmapy.utils.pytest_helpers.exceptions.MissingWarningError, plasmapy.utils.pytest_helpers.exceptions.IncorrectResultError, plasmapy.utils.pytest_helpers.exceptions.InvalidTestError