assert_almost_equal (actual, desired[, decimal, err_msg, ...]) |
Raise an assertion if two items are not equal up to desired precision. |
assert_approx_equal (actual, desired[, significant, err_msg, ...]) |
Raise an assertion if two items are not equal up to significant digits. |
assert_array_almost_equal (x, y[, decimal, err_msg, ...]) |
Raise an assertion if two objects are not equal up to desired precision. |
assert_array_equal (x, y[, err_msg, verbose]) |
Raise an assertion if two array_like objects are not equal. |
assert_array_less (x, y[, err_msg, verbose]) |
Raise an assertion if two array_like objects are not ordered by less than. |
assert_equal (actual, desired[, err_msg, verbose]) |
Raise an assertion if two objects are not equal. |
assert_raises (exception_class, callable, ...) |
Fail unless an exception of class exception_class is thrown by callable when invoked with arguments args and keyword arguments kwargs. If a different type of exception is thrown, it will not be caught, and the test case will be deemed to have suffered an error, exactly as for an unexpected exception. |
assert_warns (warning_class, func, ...) |
Fail unless a warning of class warning_class is thrown by callable when invoked with arguments args and keyword arguments kwargs. |
assert_string_equal (actual, desired) |
Test if two strings are equal. |