diff --git a/Tests/test_image.py b/Tests/test_image.py index d876d09b948..0de975d84e0 100644 --- a/Tests/test_image.py +++ b/Tests/test_image.py @@ -705,12 +705,8 @@ def test_pixels_from_new_image_by_color(self, mode: ImageModeInfo) -> None: else: color = tuple(range(mode.num_bands)) - im = Image.new(mode.name, (2, 2), color=color) - + im = Image.new(mode.name, (1, 1), color) assert im.getpixel((0, 0)) == color - assert im.getpixel((0, 1)) == color - assert im.getpixel((1, 0)) == color - assert im.getpixel((1, 1)) == color @pytest.mark.parametrize( "mode, color",