mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #7967 from Yay295/patch-1
Fix test error message grammar
This commit is contained in:
commit
de18f55568
|
@ -284,7 +284,7 @@ class TestCoreResampleAlphaCorrect:
|
||||||
used_colors = {px[x, y][0] for x in range(i.size[0])}
|
used_colors = {px[x, y][0] for x in range(i.size[0])}
|
||||||
assert 256 == len(used_colors), (
|
assert 256 == len(used_colors), (
|
||||||
"All colors should be present in resized image. "
|
"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")
|
@pytest.mark.xfail(reason="Current implementation isn't precise enough")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user