mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Fixed typos
This commit is contained in:
parent
e6d9f31411
commit
4c28926da3
|
@ -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):
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user