plasmapy.utils.pytest_helpers.pytest_helpers
¶
Test helper utilities.
Functions¶
assert_can_handle_nparray (function_to_test) |
Test for ability to handle numpy array quantities. |
run_test (func, args, kwargs, VT] = {}, …) |
Test that a function or class returns the expected result, raises the expected exception, or issues an expected warning for the supplied positional and keyword arguments. |
run_test_equivalent_calls (*test_inputs, …) |
Test that different functions/inputs return equivalent results. |