~ruther/guix-local

ref: bc2e049af14cd9a25b9571e79f1c5e6c97c5f742 guix-local/gnu/packages/patches/onnx-skip-model-downloads.patch -rw-r--r-- 622 bytes
bc2e049a — Sharlatan Hellseher gnu: Remove python-nose-exclude. 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A few tests require downloading models. Skip those.

diff --git a/onnx/backend/test/runner/__init__.py b/onnx/backend/test/runner/__init__.py
index 5b60e7c0..838c7ba5 100644
--- a/onnx/backend/test/runner/__init__.py
+++ b/onnx/backend/test/runner/__init__.py
@@ -236,6 +236,7 @@ class Runner:
             print(
                 f"Start downloading model {model_test.model_name} from {model_test.url}"
             )
+            raise unittest.SkipTest('Skipping download')
             urlretrieve(model_test.url, download_file.name)
             print("Done")
             with tarfile.open(download_file.name) as t: