File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
python/ray/llm/tests/batch/cpu/processor Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -64,33 +64,6 @@ def test_chat_template_fields_merged():
6464 assert config .chat_template_stage ["chat_template" ] == "custom_template"
6565
6666
67- def test_legacy_config_emits_deprecation_warnings ():
68- """Warnings emitted when legacy fields used."""
69- with pytest .warns (UserWarning , match = "deprecated.*apply_chat_template" ):
70- vLLMEngineProcessorConfig (
71- model_source = "test-model" ,
72- apply_chat_template = True ,
73- )
74-
75- with pytest .warns (UserWarning , match = "deprecated.*tokenize" ):
76- vLLMEngineProcessorConfig (
77- model_source = "test-model" ,
78- tokenize = True ,
79- )
80-
81- with pytest .warns (UserWarning , match = "deprecated.*detokenize" ):
82- vLLMEngineProcessorConfig (
83- model_source = "test-model" ,
84- detokenize = True ,
85- )
86-
87- with pytest .warns (UserWarning , match = "deprecated.*has_image" ):
88- vLLMEngineProcessorConfig (
89- model_source = "test-model" ,
90- has_image = True ,
91- )
92-
93-
9467def test_no_warnings_when_using_new_api ():
9568 """No warnings when only new API used."""
9669 with warnings .catch_warnings (record = True ) as w :
You can’t perform that action at this time.
0 commit comments