summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/conftest.py4
1 files 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"