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

Method makeconftest

src/_pytest/legacypath.py:107–109  ·  view source on GitHub ↗

See :meth:`Pytester.makeconftest`.

(self, source)

Source from the content-addressed store, hash-verified

105 return legacy_path(self._pytester.makefile(ext, *args, **kwargs))
106
107 def makeconftest(self, source) -> LEGACY_PATH:
108 """See :meth:`Pytester.makeconftest`."""
109 return legacy_path(self._pytester.makeconftest(source))
110
111 def makeini(self, source) -> LEGACY_PATH:
112 """See :meth:`Pytester.makeini`."""

Callers

nothing calls this directly

Calls 1

legacy_pathFunction · 0.90

Tested by

no test coverage detected