Files
gentoo/dev-python/sphinxcontrib-jsmath/files/sphinxcontrib-jsmath-1.0.1-test.patch
2026-07-05 19:10:27 +02:00

22 lines
503 B
Diff

diff --git a/tests/conftest.py b/tests/conftest.py
index ae725dc..c80a172 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -6,13 +6,13 @@
:license: BSD, see LICENSE for details.
"""
-import pytest
+from pathlib import Path
-from sphinx.testing.path import path
+import pytest
pytest_plugins = 'sphinx.testing.fixtures'
@pytest.fixture(scope='session')
def rootdir():
- return path(__file__).parent.abspath() / 'roots'
+ return Path(__file__).resolve().parent / 'roots'