We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d36be commit fb6cfc7Copy full SHA for fb6cfc7
tests/models/test_oot_registration.py
@@ -18,10 +18,9 @@ def test_plugin(
18
m.setenv("VLLM_USE_V1", "0")
19
m.setenv("VLLM_PLUGINS", "")
20
21
- with pytest.raises(Exception) as excinfo:
+ match = "Cannot find model module"
22
+ with pytest.raises(ValueError, match=match):
23
LLM(model=dummy_opt_path, load_format="dummy")
- error_msg = "has no vLLM implementation and the Transformers implementation is not compatible with vLLM" # noqa: E501
24
- assert (error_msg in str(excinfo.value))
25
26
27
@create_new_process_for_each_test()
0 commit comments