Skip to content

Commit

Permalink
Fix test error message grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Yay295 committed Apr 11, 2024
1 parent 4897954 commit c1f6abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_image_resample.py
Original file line number Diff line number Diff line change
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 c1f6abb

Please sign in to comment.