Skip to content

Commit

Permalink
Update test case
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
hugovk and radarhere committed Sep 2, 2021
1 parent 9e08eb8 commit a0afe89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_imagecolor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a0afe89

Please sign in to comment.