Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ A
Class
A
testing/test_nose.py:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
values = []
34
35
class
A:
36
@pytest.fixture(autouse=True)
37
def
f(self):
38
values.append(1)
39
40
call_optional(A(),
"f"
)
41
assert not values
Callers
2
test_setup_func_with_setup_decorator
Function · 0.70
test_setup_func_not_callable
Function · 0.70
Calls
no outgoing calls
Tested by
2
test_setup_func_with_setup_decorator
Function · 0.56
test_setup_func_not_callable
Function · 0.56