mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-10 00:20:57 +03:00
Removed test for YCbCr != 3 channels
This commit is contained in:
parent
779310a832
commit
6816a9d4ce
|
@ -87,13 +87,6 @@ class TestFileSgi(PillowTestCase):
|
||||||
|
|
||||||
self.assertRaises(ValueError, im.save, out, format='sgi')
|
self.assertRaises(ValueError, im.save, out, format='sgi')
|
||||||
|
|
||||||
def test_incorrect_number_of_bands(self):
|
|
||||||
im = hopper('YCbCr')
|
|
||||||
im.mode = 'RGB'
|
|
||||||
out = self.tempfile('temp.sgi')
|
|
||||||
|
|
||||||
self.assertRaises(ValueError, im.save, out, format='sgi')
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user