Skip to content

Commit a220fe6

Browse files
committed
fix examples
1 parent 03dda7f commit a220fe6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_unittests/ut_xrun_doc/test_documentation_recipes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ def run_test(self, fold: str, name: str, verbose=0) -> int:
5353
# dot not installed, this part
5454
# is tested in onnx framework
5555
raise unittest.SkipTest(f"failed: {name!r} due to missing dot.")
56-
if "We couldn't connect to 'https://huggingface.co'" in st:
56+
if (
57+
"We couldn't connect to 'https://huggingface.co'" in st
58+
or "Cannot access content at: https://huggingface.co/" in st
59+
):
5760
raise unittest.SkipTest(f"Connectivity issues due to\n{err}")
5861
raise AssertionError( # noqa: B904
5962
"Example '{}' (cmd: {} - exec_prefix='{}') "

0 commit comments

Comments
 (0)