Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_index.py:15–17 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
13
14
class
BaseTestCase(unittest.TestCase):
15
def
setUp(self):
16
self.o = newstyle()
17
self.n = newstyle()
18
19
def
test_basic(self):
20
self.o.ind = -2
Callers
nothing calls this directly
Calls
1
newstyle
Class · 0.85
Tested by
no test coverage detected