MCPcopy Index your code
hub / github.com/numpy/numpy / assert_mask_equal

Function assert_mask_equal

numpy/ma/testutils.py:285–294  ·  view source on GitHub ↗

Asserts the equality of two masks.

(m1, m2, err_msg='')

Source from the content-addressed store, hash-verified

283
284
285def assert_mask_equal(m1, m2, err_msg=''):
286 """
287 Asserts the equality of two masks.
288
289 """
290 if m1 is nomask:
291 assert_(m2 is nomask)
292 if m2 is nomask:
293 assert_(m1 is nomask)
294 assert_array_equal(m1, m2, err_msg=err_msg)

Callers 1

Calls 2

assert_Function · 0.90
assert_array_equalFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…