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

Method getnode

src/_pytest/legacypath.py:147–149  ·  view source on GitHub ↗

See :meth:`Pytester.getnode`.

(self, config: Config, arg)

Source from the content-addressed store, hash-verified

145 return legacy_path(self._pytester.copy_example(name))
146
147 def getnode(self, config: Config, arg) -> Optional[Union[Item, Collector]]:
148 """See :meth:`Pytester.getnode`."""
149 return self._pytester.getnode(config, arg)
150
151 def getpathnode(self, path):
152 """See :meth:`Pytester.getpathnode`."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected