diff --git a/modflow_devtools/fixtures.py b/modflow_devtools/fixtures.py index 0700cf8..4504f72 100644 --- a/modflow_devtools/fixtures.py +++ b/modflow_devtools/fixtures.py @@ -71,7 +71,7 @@ def module_tmpdir(tmpdir_factory, request) -> Path: @pytest.fixture(scope="session") def session_tmpdir(tmpdir_factory, request) -> Path: - temp = Path(tmpdir_factory.mktemp(request.session.name)) + temp = Path(tmpdir_factory.mktemp(request.config.rootpath.name)) yield temp keep = request.config.option.KEEP diff --git a/pyproject.toml b/pyproject.toml index 4d2a701..3ed78e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,6 @@ test = [ "ninja", "numpy", "pytest", - "pytest-cases", "pytest-cov", "pytest-dotenv", "pytest-xdist",