One more test for coverage

This commit is contained in:
Alexander 2018-04-14 17:47:53 +03:00
parent eae14c56e1
commit a325559f58

View File

@ -70,6 +70,10 @@ class TestColorLut3DCoreAPI(PillowTestCase):
im.im.color_lut_3d('RGB', Image.LINEAR,
3, 2, 2, 2, [0, 0, "0"] * 8)
with self.assertRaises(TypeError):
im.im.color_lut_3d('RGB', Image.LINEAR,
3, 2, 2, 2, 16)
def test_correct_args(self):
im = Image.new('RGB', (10, 10), 0)