mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-29 18:23:24 +03:00
Added test for 1 dimensional L mode SGI save
This commit is contained in:
parent
667fff7862
commit
5d5a2a3762
|
@ -55,6 +55,9 @@ class TestFileSgi(PillowTestCase):
|
||||||
for mode in ('L', 'RGB', 'RGBA'):
|
for mode in ('L', 'RGB', 'RGBA'):
|
||||||
roundtrip(hopper(mode))
|
roundtrip(hopper(mode))
|
||||||
|
|
||||||
|
# Test 1 dimension for an L mode image
|
||||||
|
roundtrip(Image.new('L', (10, 1)))
|
||||||
|
|
||||||
def test_unsupported_mode(self):
|
def test_unsupported_mode(self):
|
||||||
im = hopper('LA')
|
im = hopper('LA')
|
||||||
out = self.tempfile('temp.sgi')
|
out = self.tempfile('temp.sgi')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user