MCPcopy Create free account
hub / github.com/pytest-dev/pytest / PseudoPlugin

Class PseudoPlugin

testing/test_config.py:1079–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077 files = ()
1078
1079 class PseudoPlugin:
1080 x = 42
1081
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 2

loadMethod · 0.70

Calls

no outgoing calls

Tested by 2

loadMethod · 0.56