diff --git a/tests/conftest.py b/tests/conftest.py index 57ac73c..de94ce4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,6 +1,6 @@ import pytest from bs4 import BeautifulSoup -from sphinx.testing.path import path +from pathlib import Path from sphinx.application import Sphinx @@ -10,7 +10,7 @@ @pytest.fixture(scope="session") def rootdir(): - return path(__file__).parent.abspath() / "roots" + return Path(__file__).parent.absolute() / "roots" @pytest.fixture()