class documentation

class TestAlmostEqual(_GenericTest):

View In Hierarchy

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.
def setup(self):

Undocumented

def test_closeness(self):

Undocumented

def test_complex(self):

Undocumented

def test_complex_item(self):

Undocumented

def test_error_message(self):
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):
Check the message is formatted correctly when either x or y is a scalar.
def test_inf_item(self):

Undocumented

def test_nan_item(self):

Undocumented

def test_simple_item(self):

Undocumented

def test_subclass_that_cannot_be_bool(self):

Undocumented

_assert_func =

Undocumented