mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
improve test
This commit is contained in:
parent
c5e111e6b8
commit
923f0bb9b3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user