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

Class Foo

doc/en/example/assertion/failure_demo.py:124–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

test_eq_dataclassMethod · 0.70
test_eq_attrsMethod · 0.70
test_attributeFunction · 0.70
test_attribute_instanceFunction · 0.70
test_attribute_failureFunction · 0.70
test_attribute_multipleFunction · 0.70

Calls

no outgoing calls

Tested by 6

test_eq_dataclassMethod · 0.56
test_eq_attrsMethod · 0.56
test_attributeFunction · 0.56
test_attribute_instanceFunction · 0.56
test_attribute_failureFunction · 0.56
test_attribute_multipleFunction · 0.56