class documentation

class TestAlmostEqual(_GenericTest): (source)

View In Hierarchy

Undocumented

Method setup_method 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_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.
Method _test_equal Undocumented
Method _test_not_equal Undocumented
def setup_method(self): (source)

Undocumented

def test_closeness(self): (source)

Undocumented

def test_complex(self): (source)

Undocumented

def test_complex_item(self): (source)

Undocumented

def test_error_message(self): (source)

Check the message is formatted correctly for the decimal value. Also check the message when input includes inf or nan (gh12200)

def test_error_message_2(self): (source)

Check the message is formatted correctly when either x or y is a scalar.

def test_inf_item(self): (source)

Undocumented

def test_nan_item(self): (source)

Undocumented

def test_simple_item(self): (source)

Undocumented

def test_subclass_that_cannot_be_bool(self): (source)

Undocumented

_assert_func = (source)

Undocumented