mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Fixed typos
This commit is contained in:
parent
e6d9f31411
commit
4c28926da3
|
@ -198,7 +198,7 @@ class TestFilePng(PillowTestCase):
|
||||||
im = im.convert("RGBA")
|
im = im.convert("RGBA")
|
||||||
self.assert_image(im, "RGBA", (162, 150))
|
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)
|
self.assertEqual(len(im.split()[3].getcolors()), 124)
|
||||||
|
|
||||||
def test_load_transparent_rgb(self):
|
def test_load_transparent_rgb(self):
|
||||||
|
|
|
@ -78,7 +78,7 @@ class TestImageGetPixel(AccessTest):
|
||||||
im.getpixel((0, 0)), c,
|
im.getpixel((0, 0)), c,
|
||||||
"put/getpixel roundtrip failed for mode %s, color %s" % (mode, 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)
|
im = Image.new(mode, (1, 1), c)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
im.getpixel((0, 0)), c,
|
im.getpixel((0, 0)), c,
|
||||||
|
|
|
@ -64,7 +64,7 @@ ImagingZipEncode(Imaging im, ImagingCodecState state, UINT8* buf, int bytes)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initalise filter buffers */
|
/* Initialise filter buffers */
|
||||||
state->buffer[0] = 0;
|
state->buffer[0] = 0;
|
||||||
context->prior[0] = 1;
|
context->prior[0] = 1;
|
||||||
context->up[0] = 2;
|
context->up[0] = 2;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user