Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
123
def
test_attribute():
124
class
Foo:
125
b = 1
126
127
i = Foo()
128
assert i.b == 2
Callers
6
test_eq_dataclass
Method · 0.70
test_eq_attrs
Method · 0.70
test_attribute
Function · 0.70
test_attribute_instance
Function · 0.70
test_attribute_failure
Function · 0.70
test_attribute_multiple
Function · 0.70
Calls
no outgoing calls
Tested by
6
test_eq_dataclass
Method · 0.56
test_eq_attrs
Method · 0.56
test_attribute
Function · 0.56
test_attribute_instance
Function · 0.56
test_attribute_failure
Function · 0.56
test_attribute_multiple
Function · 0.56