Added test for missing method data in Image transform

This commit is contained in:
Andrew Murray 2017-01-28 14:21:41 +11:00
parent cd114cef3f
commit e67ee44ea8

View File

@ -140,6 +140,10 @@ class TestImageTransform(PillowTestCase):
self.test_mesh()
def test_missing_method_data(self):
self.assertRaises(ValueError, lambda:
hopper().transform((100, 100), None))
class TestImageTransformAffine(PillowTestCase):
transform = Image.AFFINE