Skip to content

Commit c5c2597

Browse files
committed
Revert "fix atached_file assertion"
This reverts commit 3b25a78.
1 parent 3b25a78 commit c5c2597

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/build_spec/test_build_spec.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from pathlib import Path
2-
31
import bioimageio.spec as spec
42
from bioimageio.core import load_raw_resource_description, load_resource_description
53
from bioimageio.core.resource_io import nodes
@@ -95,7 +93,7 @@ def _test_build_spec(
9593
attachments = loaded_model.attachments or {}
9694
if "files" in attachments:
9795
for attached_file in attachments["files"]:
98-
assert Path(attached_file).exists()
96+
assert attached_file.exists()
9997

10098

10199
def test_build_spec_pytorch(any_torch_model, tmp_path):

0 commit comments

Comments
 (0)