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

Function test_attribute

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

Source from the content-addressed store, hash-verified

121
122
123def test_attribute():
124 class Foo:
125 b = 1
126
127 i = Foo()
128 assert i.b == 2
129
130
131def test_attribute_instance():

Callers

nothing calls this directly

Calls 1

FooClass · 0.70

Tested by

no test coverage detected