Skip to content

Commit

Permalink
refactor(fixtures): support pytest>=8, drop pytest-cases dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jan 31, 2024
1 parent 9356e06 commit fe67eb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion modflow_devtools/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ test = [
"ninja",
"numpy",
"pytest",
"pytest-cases",
"pytest-cov",
"pytest-dotenv",
"pytest-xdist",
Expand Down

0 comments on commit fe67eb2

Please sign in to comment.