mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Empty image mode test
This commit is contained in:
parent
3ffcd9770c
commit
3e317f3ca0
|
@ -29,6 +29,7 @@ class TestImage(PillowTestCase):
|
|||
self.assertEqual(im3.getcolors(), [(10000, 0)])
|
||||
|
||||
self.assertRaises(ValueError, lambda: Image.new("X", (100, 100)))
|
||||
self.assertRaises(ValueError, lambda: Image.new("", (100, 100)))
|
||||
# self.assertRaises(
|
||||
# MemoryError, lambda: Image.new("L", (1000000, 1000000)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user