mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-09-21 03:18:57 +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)))
|
self.assertTrue(Image.new('RGB', (1,1)))
|
||||||
# Should pass lists too
|
# 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):
|
def test_storage_neg(self):
|
||||||
# Storage.c accepted negative values for xsize, ysize. Was
|
# Storage.c accepted negative values for xsize, ysize. Was
|
||||||
|
|
Loading…
Reference in New Issue
Block a user