MCPcopy
hub / github.com/pytest-dev/pytest / setup_class

Method setup_class

testing/code/test_source.py:78–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76
77class TestAccesses:
78 def setup_class(self) -> None:
79 self.source = Source(
80 """\
81 def f(x):
82 pass
83 def g(x):
84 pass
85 """
86 )
87
88 def test_getrange(self) -> None:
89 x = self.source[0:2]

Callers

nothing calls this directly

Calls 1

SourceClass · 0.90

Tested by

no test coverage detected