improve test

This commit is contained in:
homm 2016-10-04 03:11:53 +03:00
parent c5e111e6b8
commit 923f0bb9b3

View File

@ -248,7 +248,8 @@ class TestImage(PillowTestCase):
self.assertTrue(Image.new('RGB', (1,1)))
# Should pass lists too
self.assertTrue(Image.new('RGB', [1,1]))
i = Image.new('RGB', [1,1])
self.assertEqual(type(i.size), tuple)
def test_storage_neg(self):
# Storage.c accepted negative values for xsize, ysize. Was