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

Method pytest_unconfigure

testing/test_python_path.py:119–121  ·  testing/test_python_path.py::Plugin.pytest_unconfigure
(self)

Source from the content-addressed store, hash-verified

117 class Plugin:
118 @pytest.hookimpl(tryfirst=True)
119 def pytest_unconfigure(self) -> None:
120 nonlocal before
121 before = sys.path.copy()
122
123 result = pytester.runpytest_inprocess(plugins=[Plugin()])
124 after = sys.path.copy()

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected