Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ eq
Function
eq
numpy/ma/tests/test_old_ma.py:91–95 ·
view source on GitHub ↗
(v, w, msg='')
Source
from the content-addressed store, hash-verified
89
90
91
def
eq(v, w, msg=
''
):
92
result = allclose(v, w)
93
if
not result:
94
print(f
'Not eq:{msg}\n{v}\n----{w}'
)
95
return
result
96
97
98
class
TestMa:
Callers
15
test_testBasic1d
Method · 0.85
test_testBasic2d
Method · 0.85
test_testArithmetic
Method · 0.85
test_testUfuncs1
Method · 0.85
test_xtestCount
Method · 0.85
test_testMinMax
Method · 0.85
test_testAddSumProd
Method · 0.85
test_testCI
Method · 0.85
test_testCopySize
Method · 0.85
test_testPut
Method · 0.85
test_testPut2
Method · 0.85
test_testOddFeatures
Method · 0.85
Calls
1
allclose
Function · 0.90
Tested by
no test coverage detected