Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __init__
Method
__init__
testing/test_assertrewrite.py:270–271 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
268
return
"Y"
269
270
def
__init__(self) -> None:
271
self.foo = 3
272
273
def
f() -> None:
274
assert cls().foo == 2
# type: ignore[name-defined] # noqa: F821
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected