Skip to content

Commit

Permalink
better error message upon _deps skip
Browse files Browse the repository at this point in the history
  • Loading branch information
renxida committed Nov 25, 2024
1 parent 8298dda commit a8d59cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shortfin/python/shortfin_apps/llm/_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a8d59cc

Please sign in to comment.