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

Method testNormNonContainer

tools/swig/test/testTensor.py:65–69  ·  view source on GitHub ↗

Test norm function with non-container

(self)

Source from the content-addressed store, hash-verified

63
64 # Test (type IN_ARRAY3[ANY][ANY][ANY]) typemap
65 def testNormNonContainer(self):
66 "Test norm function with non-container"
67 print(self.typeStr, "... ", end=' ', file=sys.stderr)
68 norm = Tensor.__dict__[self.typeStr + "Norm"]
69 self.assertRaises(TypeError, norm, None)
70
71 # Test (type* IN_ARRAY3, int DIM1, int DIM2, int DIM3) typemap
72 def testMax(self):

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected