Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ setUp
Method
setUp
tools/swig/test/testArray.py:120–123 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
118
class
Array2TestCase(unittest.TestCase):
119
120
def
setUp(self):
121
self.nrows = 5
122
self.ncols = 4
123
self.array2 = Array.Array2(self.nrows, self.ncols)
124
125
def
testConstructor0(self):
126
"Test Array2 default constructor"
Callers
nothing calls this directly
Calls
1
Array2
Method · 0.80
Tested by
no test coverage detected