We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b25a78 commit c5c2597Copy full SHA for c5c2597
tests/build_spec/test_build_spec.py
@@ -1,5 +1,3 @@
1
-from pathlib import Path
2
-
3
import bioimageio.spec as spec
4
from bioimageio.core import load_raw_resource_description, load_resource_description
5
from bioimageio.core.resource_io import nodes
@@ -95,7 +93,7 @@ def _test_build_spec(
95
93
attachments = loaded_model.attachments or {}
96
94
if "files" in attachments:
97
for attached_file in attachments["files"]:
98
- assert Path(attached_file).exists()
+ assert attached_file.exists()
99
100
101
def test_build_spec_pytorch(any_torch_model, tmp_path):
0 commit comments