Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __getattr__
Method
__getattr__
testing/test_config.py:1084–1087 ·
view source on GitHub ↗
(self, name)
Source
from the content-addressed store, hash-verified
1082
attrs_used = []
1083
1084
def
__getattr__(self, name):
1085
assert name ==
"__loader__"
1086
self.attrs_used.append(name)
1087
return
object()
1088
1089
def
distributions():
1090
return
(Distribution(),)
Callers
nothing calls this directly
Calls
1
append
Method · 0.80
Tested by
no test coverage detected