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

Method __dir__

src/pytest/collect.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.__pytest = pytest
27
28 def __dir__(self) -> List[str]:
29 return dir(super()) + self.__all__
30
31 def __getattr__(self, name: str) -> Any:
32 if name not in self.__all__:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected