class documentation

class TestArrayEqual(_GenericTest):

Known subclasses: numpy.testing.tests.test_utils.TestEqual

View In Hierarchy

Undocumented

Method setup Undocumented
Method test​_0​_ndim​_array Undocumented
Method test​_generic​_rank1 Test rank 1 array for all dtypes.
Method test​_generic​_rank3 Test rank 3 array for all dtypes.
Method test​_masked​_nan​_inf Undocumented
Method test​_nan​_array Test arrays with nan values in them.
Method test​_recarrays Test record arrays.
Method test​_string​_arrays Test two arrays with different shapes are found not equal.
Method test​_subclass​_that​_does​_not​_implement​_npall Undocumented
Method test​_subclass​_that​_overrides​_eq 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_0_ndim_array(self):

Undocumented

def test_generic_rank1(self):
Test rank 1 array for all dtypes.
def test_generic_rank3(self):
Test rank 3 array for all dtypes.
def test_masked_nan_inf(self):

Undocumented

def test_nan_array(self):
Test arrays with nan values in them.
def test_recarrays(self):
Test record arrays.
def test_string_arrays(self):
Test two arrays with different shapes are found not equal.
@pytest.mark.skipif(not ARRAY_FUNCTION_ENABLED, reason='requires __array_function__')
def test_subclass_that_does_not_implement_npall(self):

Undocumented

def test_subclass_that_overrides_eq(self):

Undocumented

_assert_func =

Undocumented