[Piglit] [RFC 08/25] gen_tes_input_tests.py: replace unused variable with _

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


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

diff --git a/generated_tests/gen_tes_input_tests.py b/generated_tests/gen_tes_input_tests.py
index a0a0fdb..d443f7f 100644
--- a/generated_tests/gen_tes_input_tests.py
+++ b/generated_tests/gen_tes_input_tests.py
@@ -186,7 +186,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