From f0863c498afbeb9f834b17353ecf7f05366edb0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Sun, 19 Nov 2023 01:16:06 +0100 Subject: Use pathlib instead of sphinx.testing.path Forwarded: https://github.com/scikit-build/moderncmakedomain/pull/41 Gbp-Pq: Name 0001-Use-pathlib-instead-of-sphinx.testing.path.patch --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6a0c552..c62ee4e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,9 +1,9 @@ import pytest -from sphinx.testing.path import path +from pathlib import Path pytest_plugins = 'sphinx.testing.fixtures' @pytest.fixture(scope="session") def rootdir(): - return path(__file__).parent.abspath() / "roots" + return Path(__file__).parent.absolute() / "roots" -- cgit v1.2.3