Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/unittest/suite.py:21–24 ·
view source on GitHub ↗
(self, tests=())
Source
from the content-addressed store, hash-verified
19
_cleanup = True
20
21
def
__init__(self, tests=()):
22
self._tests = []
23
self._removed_tests = 0
24
self.addTests(tests)
25
26
def
__repr__(self):
27
return
"<%s tests=%s>"
% (util.strclass(self.__class__), list(self))
Callers
nothing calls this directly
Calls
1
addTests
Method · 0.95
Tested by
no test coverage detected