From a8d59cc0d34a4fa180dd41fa11d4d409e5c1d787 Mon Sep 17 00:00:00 2001 From: Xida Ren Date: Sun, 24 Nov 2024 06:39:40 +0000 Subject: [PATCH] better error message upon _deps skip --- shortfin/python/shortfin_apps/llm/_deps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shortfin/python/shortfin_apps/llm/_deps.py b/shortfin/python/shortfin_apps/llm/_deps.py index ba7969564..fb8ca8176 100644 --- a/shortfin/python/shortfin_apps/llm/_deps.py +++ b/shortfin/python/shortfin_apps/llm/_deps.py @@ -20,7 +20,8 @@ import pytest pytest.skip( - f"Shortfin LLM dependency not available: {dep}", allow_module_level=True + f"A test imports shortfin_apps.llm; skipping due to unavailable Shortfin LLM dependency: {dep}", + allow_module_level=True, ) else: raise ShortfinDepNotFoundError(__name__, dep) from e