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

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Oct 21 10:20:25 PDT 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

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.1



More information about the Piglit mailing list