We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7f9ab commit 8cac2e1Copy full SHA for 8cac2e1
conftest.py
@@ -63,6 +63,7 @@ def socket_name(request) -> str:
63
def add_doctest_fixtures(
64
request: pytest.FixtureRequest,
65
doctest_namespace: t.Dict[str, t.Any],
66
+ tmp_path: pathlib.Path,
67
) -> None:
68
if isinstance(request._pyfuncitem, DoctestItem) and shutil.which("tmux"):
69
doctest_namespace["server"] = request.getfixturevalue("server")
@@ -71,3 +72,4 @@ def add_doctest_fixtures(
71
72
doctest_namespace["window"] = session.attached_window
73
doctest_namespace["pane"] = session.attached_pane
74
doctest_namespace["test_utils"] = test_utils
75
+ doctest_namespace["tmp_path"] = tmp_path
0 commit comments