Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __class__
Method
__class__
testing/test_compat.py:188–189 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
186
# Type ignored because it's bypassed intentionally.
187
@property
# type: ignore
188
def
__class__(self):
189
assert False,
"Should be ignored"
190
191
assert safe_isclass(CrappyClass()) is False
192
Callers
1
__getitem__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected