Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ setup_class
Method
setup_class
testing/code/test_source.py:78–86 · testing/code/test_source.py::TestAccesses.setup_class
(self)
Source
from the content-addressed store, hash-verified
76
77
class
TestAccesses:
78
def
setup_class(self) -> None:
79
self.source = Source(
80
class
="st">"""\
81
def
f(x):
82
pass
83
def
g(x):
84
pass
85
class
="st">"""
86
)
87
88
def
test_getrange(self) -> None:
89
x = self.source[0:2]
Callers
nothing calls this directly
Calls
1
Source
Class · 0.90
Tested by
no test coverage detected