diff --git a/Tests/test_color_lut.py b/Tests/test_color_lut.py index 7414d9476..733aba2a2 100644 --- a/Tests/test_color_lut.py +++ b/Tests/test_color_lut.py @@ -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)