mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 02:06:18 +03:00
Add assert for previously unused 'lut' variable
This commit is contained in:
parent
4352edb1ec
commit
bac99bd5ae
|
@ -294,6 +294,8 @@ class TestColorLut3DFilter(PillowTestCase):
|
||||||
|
|
||||||
lut = ImageFilter.Color3DLUT((2, 2, 2), [(0, 1, 2, 3)] * 8,
|
lut = ImageFilter.Color3DLUT((2, 2, 2), [(0, 1, 2, 3)] * 8,
|
||||||
channels=4)
|
channels=4)
|
||||||
|
self.assertEqual(tuple(lut.size), (2, 2, 2))
|
||||||
|
self.assertEqual(lut.table, list(range(4)) * 8)
|
||||||
|
|
||||||
@unittest.skipIf(numpy is None, "Numpy is not installed")
|
@unittest.skipIf(numpy is None, "Numpy is not installed")
|
||||||
def test_numpy_sources(self):
|
def test_numpy_sources(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user