Skip to content

Commit 4906f4a

Browse files
committed
Update test_sampling_params_e2e.py
Signed-off-by: vincent-4 <vincentzhongy+githubvincent4@gmail.com>
1 parent 333083e commit 4906f4a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/v1/sample/test_sampling_params_e2e.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ def test_n_gt_1(model):
2424
outputs = model.generate(PROMPT, params)
2525
assert len(outputs[0].outputs) == 3
2626

27-
28-
def test_best_of(model):
29-
"""Raise a ValueError since best_of is deprecated."""
30-
31-
params = SamplingParams(n=2, best_of=3)
32-
with pytest.raises(ValueError):
33-
_ = model.generate(PROMPT, params)
34-
35-
3627
def test_penalties(model):
3728
"""Check that we do not get errors if applied."""
3829

0 commit comments

Comments
 (0)