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

Function assert_array_less

numpy/ma/testutils.py:269–276  ·  view source on GitHub ↗

Checks that x is smaller than y elementwise.

(x, y, err_msg='', verbose=True)

Source from the content-addressed store, hash-verified

267
268
269def assert_array_less(x, y, err_msg='', verbose=True):
270 """
271 Checks that x is smaller than y elementwise.
272
273 """
274 assert_array_compare(operator.__lt__, x, y,
275 err_msg=err_msg, verbose=verbose,
276 header='Arrays are not less-ordered')
277
278
279def assert_mask_equal(m1, m2, err_msg=''):

Callers

nothing calls this directly

Calls 1

assert_array_compareFunction · 0.70

Tested by

no test coverage detected