class TestAlmostEqual(_GenericTest):
Undocumented
Method | setup |
Undocumented |
Method | test_closeness |
Undocumented |
Method | test_complex |
Undocumented |
Method | test_complex_item |
Undocumented |
Method | test_error_message |
Check the message is formatted correctly for the decimal value. Also check the message when input includes inf or nan (gh12200) |
Method | test_error_message_2 |
Check the message is formatted correctly when either x or y is a scalar. |
Method | test_inf_item |
Undocumented |
Method | test_nan_item |
Undocumented |
Method | test_simple_item |
Undocumented |
Method | test_subclass_that_cannot_be_bool |
Undocumented |
Instance Variable | _assert_func |
Undocumented |
Inherited from _GenericTest
:
Method | _test_equal |
Undocumented |
Method | _test_not_equal |
Undocumented |
Method | test_array_diffshape |
Test two arrays with different shapes are found not equal. |
Method | test_array_likes |
Undocumented |
Method | test_array_rank1_eq |
Test two equal array of rank 1 are found equal. |
Method | test_array_rank1_noteq |
Test two different array of rank 1 are found not equal. |
Method | test_array_rank2_eq |
Test two equal array of rank 2 are found equal. |
Method | test_objarray |
Test object arrays. |