Skip to content

Commit

Permalink
Ruff.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 26, 2024
1 parent 1a36c82 commit 3739b86
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/test/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class _BuildCatError(Exception):

def _build_cat_local(name, path):
try:
p = subprocess.run(
subprocess.run(
["arbor-build-catalogue", name, str(path)],
check=True,
stderr=subprocess.PIPE,
Expand Down Expand Up @@ -172,10 +172,11 @@ def dummy_catalogue(repo_path):
try:
path = repo_path / "test" / "unit" / "dummy"
cat_path = _build_cat("dummy", path)
print(cat_path)
cat = A.load_catalogue(str(cat_path))
except Exception:
raise SkipTest("Couldn't build catalogue, maybe need to install Arbor first?")
raise SkipTest(
"Couldn't build catalogue, maybe need to install Arbor first?"
) from None
return cat


Expand Down

0 comments on commit 3739b86

Please sign in to comment.