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 31e54cb commit e3312e0Copy full SHA for e3312e0
tests/conftest.py
@@ -77,7 +77,8 @@
77
78
def pytest_configure():
79
80
- # explicit skip flag needed for pytorch to onnx converter test
+ # explicit skip flags needed for some tests
81
+ pytest.skip_torch = skip_torch
82
pytest.skip_onnx = skip_onnx
83
84
# load all model packages used in tests
tests/resource_io/test_load_rdf.py
@@ -92,6 +92,7 @@ def test_load_model_with_rel_str_source(unet2d_nuclei_broad_model):
92
assert model
93
94
95
+@pytest.mark.skipif(pytest.skip_torch, reason="requires pytorch")
96
def test_load_remote_model_with_folders():
97
from bioimageio.core import load_resource_description, load_raw_resource_description
98
from bioimageio.core.resource_io import nodes
0 commit comments