From 63a0b801b4d5703f8f2eba01b13a6c108e425cee Mon Sep 17 00:00:00 2001 From: Nazime Date: Mon, 15 Oct 2018 13:06:08 +0200 Subject: [PATCH] misspelled variable name --- Tests/test_image_access.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/test_image_access.py b/Tests/test_image_access.py index f88cfc2f6..338ab0258 100644 --- a/Tests/test_image_access.py +++ b/Tests/test_image_access.py @@ -68,10 +68,10 @@ class TestImagePutPixel(AccessTest): im1 = hopper() im2 = Image.new(im1.mode, im1.size, 0) - width, heigth = im1.size - self.assertEqual(im1.getpixel((0, 0)), im1.getpixel((-width, -heigth))) + width, height = im1.size + self.assertEqual(im1.getpixel((0, 0)), im1.getpixel((-width, -height))) self.assertEqual(im1.getpixel((-1, -1)), - im1.getpixel((width-1, heigth-1))) + im1.getpixel((width-1, height-1))) for y in range(-1, -im1.size[1]-1, -1): for x in range(-1, -im1.size[0]-1, -1):