From 8a48c1d665e11357cadac0a9e824409cbaea0e6c Mon Sep 17 00:00:00 2001 From: Kolade Fajimi <107228310+koladefaj@users.noreply.github.com> Date: Tue, 8 Sep 2026 09:04:10 +0100 Subject: [PATCH] test(vertex): exclude the unreachable exhaustiveness guard from coverage --- litellm/llms/vertex_ai/credentials_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/credentials_source.py b/litellm/llms/vertex_ai/credentials_source.py index dbeeb593afe..4cbec1c5f1c 100644 --- a/litellm/llms/vertex_ai/credentials_source.py +++ b/litellm/llms/vertex_ai/credentials_source.py @@ -143,4 +143,4 @@ def raise_vertex_credentials_failure(failure: VertexCredentialsFailure) -> NoRet "Check for unescaped newlines in private_key." ) case _: # pragma: no cover - exhaustiveness guard, unreachable while the union holds - assert_never(failure) + assert_never(failure) # pragma: no cover