mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
One more test for coverage
This commit is contained in:
parent
eae14c56e1
commit
a325559f58
|
@ -70,6 +70,10 @@ class TestColorLut3DCoreAPI(PillowTestCase):
|
||||||
im.im.color_lut_3d('RGB', Image.LINEAR,
|
im.im.color_lut_3d('RGB', Image.LINEAR,
|
||||||
3, 2, 2, 2, [0, 0, "0"] * 8)
|
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):
|
def test_correct_args(self):
|
||||||
im = Image.new('RGB', (10, 10), 0)
|
im = Image.new('RGB', (10, 10), 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user