Skip to content

Commit

Permalink
fix a previous issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jas2600 committed Aug 31, 2024
1 parent 861d713 commit e255361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tlm/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def test_prompt_too_long_exception_batch_score(tlm: TLM, num_prompts: int):
"a" * (MAX_PROMPT_LENGTH_TOKENS // 2 + 1) * CHARACTERS_PER_TOKEN
)
responses[combined_too_long_index] = (
"a" * (MAX_PROMPT_LENGTH_TOKENS // 2 + 1) * CHARACTERS_PER_TOKEN
"a" * (MAX_RESPONSE_LENGTH_TOKENS // 2 + 1) * CHARACTERS_PER_TOKEN
)

with pytest.raises(
Expand Down

0 comments on commit e255361

Please sign in to comment.