Skip to content

Commit cac411a

Browse files
committed
wip - test
Signed-off-by: Nikhil Ghosh <nikhil@anyscale.com>
1 parent c200da2 commit cac411a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

python/ray/llm/tests/batch/cpu/processor/test_backward_compat.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff 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-
9467
def test_no_warnings_when_using_new_api():
9568
"""No warnings when only new API used."""
9669
with warnings.catch_warnings(record=True) as w:

0 commit comments

Comments
 (0)