Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ test_attribute_multiple
Function
test_attribute_multiple
doc/en/example/assertion/failure_demo.py:149–156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
147
148
149
def
test_attribute_multiple():
150
class
Foo:
151
b = 1
152
153
class
Bar:
154
b = 2
155
156
assert Foo().b == Bar().b
157
158
159
def
globf(x):
Callers
nothing calls this directly
Calls
2
Bar
Class · 0.85
Foo
Class · 0.70
Tested by
no test coverage detected