Skip to content

Commit 04fe61a

Browse files
[CI/Build] Fix plugin tests (#21758)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1 parent 25708d3 commit 04fe61a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/models/test_oot_registration.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ def test_plugin(
1515
monkeypatch: pytest.MonkeyPatch,
1616
dummy_opt_path: str,
1717
):
18-
# V1 shuts down rather than raising an error here.
1918
with monkeypatch.context() as m:
20-
m.setenv("VLLM_USE_V1", "0")
2119
m.setenv("VLLM_PLUGINS", "")
2220

23-
match = "Cannot find model module"
24-
with pytest.raises(ValueError, match=match):
21+
with pytest.raises(ValueError, match="are not supported for now"):
2522
LLM(model=dummy_opt_path, load_format="dummy")
2623

2724

0 commit comments

Comments
 (0)