From c1f6abbd3746d8332b6f9aae69f1fd262a246257 Mon Sep 17 00:00:00 2001 From: Yay295 Date: Thu, 11 Apr 2024 14:07:07 -0500 Subject: [PATCH] Fix test error message grammar --- Tests/test_image_resample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image_resample.py b/Tests/test_image_resample.py index dbe193808..9b3bdf330 100644 --- a/Tests/test_image_resample.py +++ b/Tests/test_image_resample.py @@ -284,7 +284,7 @@ class TestCoreResampleAlphaCorrect: 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")