MCPcopy 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

Calls

no outgoing calls

Tested by 2