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

Method testNrows

tools/swig/test/testFarray.py:49–51  ·  view source on GitHub ↗

Test Farray nrows method

(self)

Source from the content-addressed store, hash-verified

47 self.assertRaises(ValueError, Farray.Farray, 4, -4)
48
49 def testNrows(self):
50 "Test Farray nrows method"
51 self.assertTrue(self.array.nrows() == self.nrows)
52
53 def testNcols(self):
54 "Test Farray ncols method"

Callers

nothing calls this directly

Calls 1

nrowsMethod · 0.45

Tested by

no test coverage detected