From 4c28926da328887c6566f292c15b55b527d5d1cb Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 2 Oct 2016 21:31:53 +1100 Subject: [PATCH] Fixed typos --- Tests/test_file_png.py | 2 +- Tests/test_image_access.py | 2 +- libImaging/ZipEncode.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/test_file_png.py b/Tests/test_file_png.py index 8d76b0ec8..a96422fa7 100644 --- a/Tests/test_file_png.py +++ b/Tests/test_file_png.py @@ -198,7 +198,7 @@ class TestFilePng(PillowTestCase): im = im.convert("RGBA") self.assert_image(im, "RGBA", (162, 150)) - # image has 124 uniqe qlpha values + # image has 124 unique alpha values self.assertEqual(len(im.split()[3].getcolors()), 124) def test_load_transparent_rgb(self): diff --git a/Tests/test_image_access.py b/Tests/test_image_access.py index 52618d541..21295ac82 100644 --- a/Tests/test_image_access.py +++ b/Tests/test_image_access.py @@ -78,7 +78,7 @@ class TestImageGetPixel(AccessTest): im.getpixel((0, 0)), c, "put/getpixel roundtrip failed for mode %s, color %s" % (mode, c)) - # check inital color + # check initial color im = Image.new(mode, (1, 1), c) self.assertEqual( im.getpixel((0, 0)), c, diff --git a/libImaging/ZipEncode.c b/libImaging/ZipEncode.c index 0c6f34242..fa1c4e728 100644 --- a/libImaging/ZipEncode.c +++ b/libImaging/ZipEncode.c @@ -64,7 +64,7 @@ ImagingZipEncode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes) return -1; } - /* Initalise filter buffers */ + /* Initialise filter buffers */ state->buffer[0] = 0; context->prior[0] = 1; context->up[0] = 2;