Skip to content

Commit a0afe89

Browse files
hugovkradarhere
andcommitted
Update test case
Co-authored-by: Andrew Murray <[email protected]>
1 parent 9e08eb8 commit a0afe89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/test_imagecolor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_rounding_errors():
195195

196196
def test_color_too_long():
197197
# Arrange
198-
color_too_long = "hsl(" + "1" * 100 + ")"
198+
color_too_long = "hsl(" + "1" * 40 + "," + "1" * 40 + "%," + "1" * 40 + "%)"
199199

200200
# Act / Assert
201201
with pytest.raises(ValueError):

0 commit comments

Comments
 (0)