From 4a02c79cdde6a0d89027b53e08b24737425fe771 Mon Sep 17 00:00:00 2001 From: Yay295 Date: Fri, 14 Jul 2023 08:06:37 -0500 Subject: [PATCH] Use implicit slice start Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- Tests/test_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image.py b/Tests/test_image.py index 3f46039dfbe..2509172aff9 100644 --- a/Tests/test_image.py +++ b/Tests/test_image.py @@ -1010,7 +1010,7 @@ def test_roundtrip_bytes_method(self, mode): @pytest.mark.parametrize(("mode", "num_bands", "pixelsize"), image_modes_not_bgr) def test_pixels_after_getdata_putdata(self, mode, num_bands, pixelsize): image_byte_size = 2 * 2 * pixelsize - start_bytes = self.sample_bytes[0:image_byte_size] + start_bytes = self.sample_bytes[:image_byte_size] image = Image.frombytes(mode, (2, 2), start_bytes) start_pixels = (