Update test_types.py

This commit is contained in:
Piotr Mlocek 2023-10-18 12:58:17 -07:00 committed by GitHub
parent f0d6619d80
commit d32007b8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ def test_parameters_validation():
with pytest.raises(ValidationError): with pytest.raises(ValidationError):
Parameters(top_p=-1) Parameters(top_p=-1)
with pytest.raises(ValidationError): with pytest.raises(ValidationError):
Parameters(top_p=1) Parameters(top_p=1.01)
# Test truncate # Test truncate
Parameters(truncate=1) Parameters(truncate=1)