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

Method pytest_configure

src/_pytest/pytester.py:1138–1143  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

1136 class PytesterHelperPlugin:
1137 @staticmethod
1138 def pytest_configure(config: Config) -> None:
1139 rec.append(self.make_hook_recorder(config.pluginmanager))
1140
1141 # The unraisable plugin GC collect slows down inline
1142 # pytester runs too much.
1143 config.stash[gc_collect_iterations_key] = 0
1144
1145 plugins.append(PytesterHelperPlugin())
1146 ret = main([str(x) for x in args], plugins=plugins)

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
make_hook_recorderMethod · 0.45

Tested by

no test coverage detected