- Docs »
plasmapy.tests.helpers
Test helper functionality for PlasmaPy and affiliated packages.
Sub-Packages & Modules
exceptions |
Exceptions that describe different types of test failures. |
Classes
ExceptionMismatchFail (msg, pytrace) |
Exception for when an exception is expected, but a different exception is raised. |
InvalidTestError |
Exception for when the inputs to a test are not valid. |
MissingExceptionFail (msg, pytrace) |
Exception for when the expected exception is not raised. |
MissingWarningFail (msg, pytrace) |
Exception for when an expected warning is not issued. |
TestFailed (msg, pytrace) |
Base exception for test failures. |
TypeMismatchFail (msg, pytrace) |
Exception for when the type of the actual result differs from the type of the expected result. |
UnexpectedExceptionFail (msg, pytrace) |
Exception for when an exception is raised unexpectedly. |
UnexpectedResultFail (msg, pytrace) |
Exception for when the returned value does not match the value that was expected. |
UnexpectedWarningFail (msg, pytrace) |
Exception for when a warning is issued unexpectedly. |
WarningMismatchFail (msg, pytrace) |
Exception for when a warning is expected, but one or more different warnings were issued instead. |
Class Inheritance Diagram