MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_attribute_instance

Function test_attribute_instance

doc/en/example/assertion/failure_demo.py:131–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130
131def test_attribute_instance():
132 class Foo:
133 b = 1
134
135 assert Foo().b == 2
136
137
138def test_attribute_failure():

Callers

nothing calls this directly

Calls 1

FooClass · 0.70

Tested by

no test coverage detected