Skip to content

Commit e7bad1d

Browse files
committed
WIP fix tests
1 parent ed356cc commit e7bad1d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

example/load_model_and_create_your_own.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,13 +1369,13 @@
13691369
" <td>model 0.5.5</td>\n",
13701370
" </tr>\n",
13711371
" <tr>\n",
1372-
" <td>bioimageio.spec</td>\n",
1373-
" <td>0.5.5.5</td>\n",
1374-
" </tr>\n",
1375-
" <tr>\n",
13761372
" <td>bioimageio.core</td>\n",
13771373
" <td>0.9.3</td>\n",
13781374
" </tr>\n",
1375+
" <tr>\n",
1376+
" <td>bioimageio.spec</td>\n",
1377+
" <td>0.5.5.5</td>\n",
1378+
" </tr>\n",
13791379
"</table>\n",
13801380
"<table>\n",
13811381
" <tr>\n",

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ dev = [
5858
"python-dotenv",
5959
"respx",
6060
"ruff",
61+
"torch",
6162
]
6263

6364
[build-system]

tests/test_internal/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,4 +260,4 @@ def test_open_url_with_wrong_sha(respx_mock: MockRouter):
260260
_ = respx_mock.get(url).mock(side_effect=httpx.InvalidURL("Invalid URL"))
261261

262262
with pytest.raises(httpx.InvalidURL, match="Invalid URL"):
263-
_ = _open_url(HttpUrl(url), sha256=sha)
263+
_ = _open_url(HttpUrl(url), sha256=sha, progressbar=False)

0 commit comments

Comments
 (0)