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

Function eq

numpy/ma/tests/test_old_ma.py:29–33  ·  view source on GitHub ↗
(v, w, msg='')

Source from the content-addressed store, hash-verified

27
28
29def eq(v, w, msg=''):
30 result = allclose(v, w)
31 if not result:
32 print(f'Not eq:{msg}\n{v}\n----{w}')
33 return result
34
35
36class TestMa:

Callers 15

test_testBasic1dMethod · 0.85
test_testBasic2dMethod · 0.85
test_testArithmeticMethod · 0.85
test_testUfuncs1Method · 0.85
test_xtestCountMethod · 0.85
test_testMinMaxMethod · 0.85
test_testAddSumProdMethod · 0.85
test_testCIMethod · 0.85
test_testCopySizeMethod · 0.85
test_testPutMethod · 0.85
test_testPut2Method · 0.85
test_testOddFeaturesMethod · 0.85

Calls 2

allcloseFunction · 0.90
printFunction · 0.85

Tested by

no test coverage detected