MCPcopy Index your code
hub / github.com/numpy/numpy / testResize0

Method testResize0

tools/swig/test/testArray.py:58–62  ·  view source on GitHub ↗

Test Array1 resize method, length

(self)

Source from the content-addressed store, hash-verified

56 self.assertTrue(len(self.array1) == self.length)
57
58 def testResize0(self):
59 "Test Array1 resize method, length"
60 newLen = 2 * self.length
61 self.array1.resize(newLen)
62 self.assertTrue(len(self.array1) == newLen)
63
64 def testResize1(self):
65 "Test Array1 resize method, array"

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected