mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
22 lines
503 B
Diff
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'
|