Commit 3c8e758c authored by Jason R. Coombs's avatar Jason R. Coombs

Avoid indirection in src_dir

parent 7fe4a405
...@@ -6,9 +6,6 @@ import pytest ...@@ -6,9 +6,6 @@ import pytest
from . import contexts from . import contexts
SRC_DIR = pathlib.Path(__file__).parents[2]
@pytest.fixture @pytest.fixture
def user_override(monkeypatch): def user_override(monkeypatch):
""" """
...@@ -32,7 +29,7 @@ def tmpdir_cwd(tmpdir): ...@@ -32,7 +29,7 @@ def tmpdir_cwd(tmpdir):
@pytest.fixture @pytest.fixture
def src_dir(): def src_dir():
"""The project source directory available via fixture.""" """The project source directory available via fixture."""
return SRC_DIR return pathlib.Path(__file__).parents[2]
@pytest.fixture @pytest.fixture
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment