MCPcopy Create free account
hub / github.com/numpy/numpy / assert_array_equal

Method assert_array_equal

numpy/ma/timer_comparison.py:103–109  ·  view source on GitHub ↗

Checks the elementwise equality of two masked arrays.

(self, x, y, err_msg='')

Source from the content-addressed store, hash-verified

101 raise ValueError(msg) from e
102
103 def assert_array_equal(self, x, y, err_msg=''):
104 """
105 Checks the elementwise equality of two masked arrays.
106
107 """
108 self.assert_array_compare(self.equal, x, y, err_msg=err_msg,
109 header='Arrays are not equal')
110
111 @np.errstate(all='ignore')
112 def test_0(self):

Callers 15

test_2Method · 0.95
test_3Method · 0.95
test_5Method · 0.95
test_7Method · 0.95
test_99Method · 0.95
testFloorMethod · 0.80
testCeilMethod · 0.80
testFloorMethod · 0.80
testCeilMethod · 0.80
testOnesMethod · 0.80
testZerosMethod · 0.80
testFloorMethod · 0.80

Calls 1

assert_array_compareMethod · 0.95

Tested by 15

test_2Method · 0.76
test_3Method · 0.76
test_5Method · 0.76
test_7Method · 0.76
test_99Method · 0.76
testFloorMethod · 0.64
testCeilMethod · 0.64
testFloorMethod · 0.64
testCeilMethod · 0.64
testOnesMethod · 0.64
testZerosMethod · 0.64
testFloorMethod · 0.64