Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
def
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
36
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
2
allclose
Function · 0.90
print
Function · 0.85
Tested by
no test coverage detected