mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Added test for missing method data in Image transform
This commit is contained in:
parent
cd114cef3f
commit
e67ee44ea8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user