Skip to content

Commit 4a41c11

Browse files
committed
skip test_load_remote_rdf if torch is not available
1 parent b8d63d5 commit 4a41c11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/resource_io/test_load_rdf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def test_load_model_with_rel_str_source(unet2d_nuclei_broad_model):
7070
assert model
7171

7272

73+
@pytest.mark.skipif(pytest.skip_torch, reason="remote model is a pytorch model")
7374
def test_load_remote_rdf():
7475
from bioimageio.core import load_resource_description
7576
from bioimageio.core.resource_io import nodes

0 commit comments

Comments
 (0)