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

Method __init__

tools/swig/test/testTensor.py:19–23  ·  view source on GitHub ↗
(self, methodName="runTests")

Source from the content-addressed store, hash-verified

17class TensorTestCase(unittest.TestCase):
18
19 def __init__(self, methodName="runTests"):
20 unittest.TestCase.__init__(self, methodName)
21 self.typeStr = "double"
22 self.typeCode = "d"
23 self.result = sqrt(28.0/8)
24
25 # Test (type IN_ARRAY3[ANY][ANY][ANY]) typemap
26 def testNorm(self):

Callers

nothing calls this directly

Calls 2

sqrtFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected