From 4968e89f3cde7390b411270f0476418ccf70abab Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Sat, 19 Sep 2026 03:20:48 -0700 Subject: [PATCH] test(ci): drop the structure-only assertion on the shard script; the parametrized hang test covers both invocations --- tests/test_litellm/test_unit_shard_per_test_timeout.py | 4 ---- 1 file changed, 4 deletions(-) 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) )