Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jun 10, 2024
1 parent 2c91b4b commit 260567b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions modflow_devtools/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@

@pytest.fixture(scope="function")
def function_tmpdir(tmpdir_factory, request) -> Generator[Path, None, None]:
node_name = request.node.name\
.replace("/", "_")\
.replace("\\", "_")\
.replace(":", "_")\
.replace("[", "_")\
node_name = (
request.node.name.replace("/", "_")
.replace("\\", "_")
.replace(":", "_")
.replace("[", "_")
.replace("]", "_")
)
temp = Path(tmpdir_factory.mktemp(node_name))
yield Path(temp)

Expand Down

0 comments on commit 260567b

Please sign in to comment.