This commit is contained in:
homm 2014-11-09 02:33:14 +03:00
parent 7a64f7be80
commit 3894dbe754

View File

@ -43,12 +43,12 @@ class TestImagingStretch(PillowTestCase):
self.assertEqual(r.mode, "RGB") self.assertEqual(r.mode, "RGB")
self.assertEqual(r.size, (764, 414)) self.assertEqual(r.size, (764, 414))
def test_endianess(self): def test_endianness(self):
# Make an image with one colored pixel, in one channel. # Make an image with one colored pixel, in one channel.
# When stretched, that channel should be the same as a GS image. # When stretched, that channel should be the same as a GS image.
# Other channels should be unaffected. # Other channels should be unaffected.
# The R and A channels should not swap, which is indicitive of # The R and A channels should not swap, which is indicitive of
# an endianess issues # an endianness issues.
samples = { samples = {
'blank': Image.new('L', (2, 2), 0), 'blank': Image.new('L', (2, 2), 0),