Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ setup
Method
setup
src/_pytest/nodes.py:280–281 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
278
return
hash(self._nodeid)
279
280
def
setup(self) -> None:
281
pass
282
283
def
teardown(self) -> None:
284
pass
Callers
10
test_setup
Method · 0.45
test_teardown_exact_stack_empty
Method · 0.45
test_setup_fails_and_failure_is_cached
Method · 0.45
test_teardown_multiple_one_fails
Method · 0.45
test_teardown_multiple_fail
Method · 0.45
test_teardown_multiple_scopes_one_fails
Method · 0.45
test_teardown_multiple_scopes_several_fail
Method · 0.45
test_funcarg_basic
Method · 0.45
test_getfixturevalue
Method · 0.45
test_request_addfinalizer
Method · 0.45
Calls
no outgoing calls
Tested by
10
test_setup
Method · 0.36
test_teardown_exact_stack_empty
Method · 0.36
test_setup_fails_and_failure_is_cached
Method · 0.36
test_teardown_multiple_one_fails
Method · 0.36
test_teardown_multiple_fail
Method · 0.36
test_teardown_multiple_scopes_one_fails
Method · 0.36
test_teardown_multiple_scopes_several_fail
Method · 0.36
test_funcarg_basic
Method · 0.36
test_getfixturevalue
Method · 0.36
test_request_addfinalizer
Method · 0.36