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

Class Plugin

testing/test_python_path.py:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 after: list[str] | None = None
116
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 1

test_clean_upFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_clean_upFunction · 0.56