Merge pull request #2142 from radarhere/typo

Fixed typos
This commit is contained in:
Hugo 2016-10-02 13:47:56 +03:00 committed by GitHub
commit b045893768
3 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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,

View File

@ -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;