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

Method _getobj

src/_pytest/python.py:509–510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

507 """Collector for test classes and functions."""
508
509 def _getobj(self):
510 return self._importtestmodule()
511
512 def collect(self) -> Iterable[Union[nodes.Item, nodes.Collector]]:
513 self._inject_setup_module_fixture()

Callers

nothing calls this directly

Calls 1

_importtestmoduleMethod · 0.95

Tested by

no test coverage detected