summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools/tests/fixtures.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/setuptools/tests/fixtures.py b/setuptools/tests/fixtures.py
index 0480033c..4a990eb9 100644
--- a/setuptools/tests/fixtures.py
+++ b/setuptools/tests/fixtures.py
@@ -6,9 +6,6 @@ import pytest
from . import contexts
-SRC_DIR = pathlib.Path(__file__).parents[2]
-
-
@pytest.fixture
def user_override(monkeypatch):
"""
@@ -32,7 +29,7 @@ def tmpdir_cwd(tmpdir):
@pytest.fixture
def src_dir():
"""The project source directory available via fixture."""
- return SRC_DIR
+ return pathlib.Path(__file__).parents[2]
@pytest.fixture