Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test(ci): drop the structure-only assertion on the shard script; the parametrized hang test covers both invocations

mateo-berri4968e89f3cde
diff --git a/tests/test_litellm/test_unit_shard_per_test_timeout.py b/tests/test_litellm/test_unit_shard_per_test_timeout.py
index e6c3db460e1..8096124ca8c 100644
--- a/tests/test_litellm/test_unit_shard_per_test_timeout.py
+++ b/tests/test_litellm/test_unit_shard_per_test_timeout.py
@@ -58,10 +58,6 @@ def _hang_guard_args(invocation: tuple[str, ...]) -> tuple[str, ...]:
_INVOCATIONS: Final = _pytest_invocations(_run_tests_script())
-def test_the_shard_script_runs_pytest_serially_and_under_xdist() -> None:
- assert sorted("-n" in invocation for invocation in _INVOCATIONS) == [False, True]
-
-
@pytest.mark.parametrize(
"invocation", _INVOCATIONS, ids=tuple("xdist" if "-n" in invocation else "serial" for invocation in _INVOCATIONS)
)