From 04fe61aa3d4133aaf5e76c9fc9450a06eb9fddc5 Mon Sep 17 00:00:00 2001 From: Cyrus Leung Date: Mon, 28 Jul 2025 23:08:05 +0800 Subject: [PATCH] [CI/Build] Fix plugin tests (#21758) Signed-off-by: DarkLight1337 --- tests/models/test_oot_registration.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/models/test_oot_registration.py b/tests/models/test_oot_registration.py index 59de35644..4aa7bb729 100644 --- a/tests/models/test_oot_registration.py +++ b/tests/models/test_oot_registration.py @@ -15,13 +15,10 @@ def test_plugin( monkeypatch: pytest.MonkeyPatch, dummy_opt_path: str, ): - # V1 shuts down rather than raising an error here. with monkeypatch.context() as m: - m.setenv("VLLM_USE_V1", "0") m.setenv("VLLM_PLUGINS", "") - match = "Cannot find model module" - with pytest.raises(ValueError, match=match): + with pytest.raises(ValueError, match="are not supported for now"): LLM(model=dummy_opt_path, load_format="dummy")