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

Method getmodulecol

src/_pytest/legacypath.py:201–205  ·  view source on GitHub ↗

See :meth:`Pytester.getmodulecol`.

(self, source, configargs=(), withinit=False)

Source from the content-addressed store, hash-verified

199 return self._pytester.getitems(source)
200
201 def getmodulecol(self, source, configargs=(), withinit=False):
202 """See :meth:`Pytester.getmodulecol`."""
203 return self._pytester.getmodulecol(
204 source, configargs=configargs, withinit=withinit
205 )
206
207 def collect_by_name(
208 self, modcol: Collector, name: str

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected