Skip to content

Commit

Permalink
fix copy setup test
Browse files Browse the repository at this point in the history
  • Loading branch information
dionhaefner committed Jul 3, 2024
1 parent 9f1ef87 commit 9cee23b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def test_veros_copy_setup(setup, runner, tmpdir):
assert result.exit_code == 0, setup
assert not result.output

with importlib.resources.path("veros", f"setups/{setup}") as srcpath:
setupdir = importlib.resources.files("veros") / "setups" / setup
with importlib.resources.as_file(setupdir) as srcpath:
ignore = [
f
for f in os.listdir(srcpath)
Expand Down

0 comments on commit 9cee23b

Please sign in to comment.