MCPcopy
hub / github.com/pytest-dev/pytest / _getobj

Method _getobj

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

Source from the content-addressed store, hash-verified

558 """Collector for test classes and functions in a Python module."""
559
560 def _getobj(self):
561 return importtestmodule(self.path, self.config)
562
563 def collect(self) -> Iterable[nodes.Item | nodes.Collector]:
564 self._register_setup_module_fixture()

Callers 1

collectMethod · 0.45

Calls 1

importtestmoduleFunction · 0.85

Tested by

no test coverage detected