Skip to content

Commit

Permalink
Merge pull request #7967 from Yay295/patch-1
Browse files Browse the repository at this point in the history
Fix test error message grammar
  • Loading branch information
hugovk committed Apr 11, 2024
2 parents 4897954 + c1f6abb commit de18f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_resample.py
Expand Up @@ -284,7 +284,7 @@ def run_levels_case(self, i: Image.Image) -> None:
used_colors = {px[x, y][0] for x in range(i.size[0])}
assert 256 == len(used_colors), (
"All colors should be present in resized image. "
f"Only {len(used_colors)} on {y} line."
f"Only {len(used_colors)} on line {y}."
)

@pytest.mark.xfail(reason="Current implementation isn't precise enough")
Expand Down

0 comments on commit de18f55

Please sign in to comment.