mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-27 20:43:43 +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()
|
self.test_mesh()
|
||||||
|
|
||||||
|
def test_missing_method_data(self):
|
||||||
|
self.assertRaises(ValueError, lambda:
|
||||||
|
hopper().transform((100, 100), None))
|
||||||
|
|
||||||
|
|
||||||
class TestImageTransformAffine(PillowTestCase):
|
class TestImageTransformAffine(PillowTestCase):
|
||||||
transform = Image.AFFINE
|
transform = Image.AFFINE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user