mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 18:24:57 +03:00
spelling typos
This commit is contained in:
parent
eb0f400e02
commit
b2800b57a7
|
@ -216,7 +216,8 @@ class TestFilePng(PillowTestCase):
|
||||||
in_file = "Tests/images/pil123p.png"
|
in_file = "Tests/images/pil123p.png"
|
||||||
im = Image.open(in_file)
|
im = Image.open(in_file)
|
||||||
|
|
||||||
# 'transparency' contains a byte string with the opacity for each palett entry
|
# 'transparency' contains a byte string with the opacity for
|
||||||
|
# each palette entry
|
||||||
self.assertEqual(len(im.info["transparency"]), 256)
|
self.assertEqual(len(im.info["transparency"]), 256)
|
||||||
|
|
||||||
test_file = self.tempfile("temp.png")
|
test_file = self.tempfile("temp.png")
|
||||||
|
@ -230,7 +231,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_save_p_single_transparency(self):
|
def test_save_p_single_transparency(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user