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

Method testNrows

tools/swig/test/testArray.py:157–159  ·  view source on GitHub ↗

Test Array2 nrows method

(self)

Source from the content-addressed store, hash-verified

155 self.assertRaises(ValueError, Array.Array2, 4, -4)
156
157 def testNrows(self):
158 "Test Array2 nrows method"
159 self.assertTrue(self.array2.nrows() == self.nrows)
160
161 def testNcols(self):
162 "Test Array2 ncols method"

Callers

nothing calls this directly

Calls 1

nrowsMethod · 0.45

Tested by

no test coverage detected