Skip to content

Commit ba9caf1

Browse files
committed
chore(ruff): Manual fix for conftest.py
conftest.py:72:37: PTH100 `os.path.abspath()` should be replaced by `Path.resolve()`
1 parent dede410 commit ba9caf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def monkeypatch_plugin_test_packages(monkeypatch: pytest.MonkeyPatch) -> None:
6969
"tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_fail/",
7070
]
7171
for path in paths:
72-
monkeypatch.syspath_prepend(os.path.abspath(os.path.relpath(path)))
72+
monkeypatch.syspath_prepend(str(pathlib.Path(path).resolve()))
7373

7474

7575
@pytest.fixture(scope="function")

0 commit comments

Comments
 (0)