[Piglit] [RFC 16/25] gen_tcs_input_tests.py: replace unused variable with _

Dylan Baker baker.dylan.c at gmail.com
Wed Oct 7 14:17:17 PDT 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 generated_tests/gen_tcs_input_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generated_tests/gen_tcs_input_tests.py b/generated_tests/gen_tcs_input_tests.py
index 535074a..01e938c 100644
--- a/generated_tests/gen_tcs_input_tests.py
+++ b/generated_tests/gen_tcs_input_tests.py
@@ -158,7 +158,7 @@ class Test(object):
         c = self.components()
 
         ret = []
-        for i in range(n):
+        for _ in range(n):
             ret.append(" ".join(str(rand()) for _ in range(c)))
 
         return ret
-- 
2.6.0



More information about the Piglit mailing list