From 18fea70b51b27d98a7c0bd16a6025cf872273b0d Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 3 Mar 2017 21:05:41 +1100 Subject: [PATCH] Removed unused variable --- Tests/test_imagecms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imagecms.py b/Tests/test_imagecms.py index a661ab24d..d0168b141 100644 --- a/Tests/test_imagecms.py +++ b/Tests/test_imagecms.py @@ -343,7 +343,7 @@ class TestImageCms(PillowTestCase): ] chans = [] bands = ImageMode.getmode(mode).bands - for band_ndx, band in enumerate(bands): + for band_ndx in range(len(bands)): channel_type = 'L' # 8-bit unorm channel_pattern = hopper(channel_type)