diff --git a/Tests/test_imagecolor.py b/Tests/test_imagecolor.py index dbe8b9e957b..dcc44e6e342 100644 --- a/Tests/test_imagecolor.py +++ b/Tests/test_imagecolor.py @@ -195,7 +195,7 @@ def test_rounding_errors(): def test_color_too_long(): # Arrange - color_too_long = "hsl(" + "1" * 100 + ")" + color_too_long = "hsl(" + "1" * 40 + "," + "1" * 40 + "%," + "1" * 40 + "%)" # Act / Assert with pytest.raises(ValueError):