[Piglit] [RESEND RFC 02/25] gen_tes_input_tests.py: remove unnecissary ; at end of python lines

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


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

python allows these, but they're not necessary and not normal

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

diff --git a/generated_tests/gen_tes_input_tests.py b/generated_tests/gen_tes_input_tests.py
index ea87e72..cac1722 100644
--- a/generated_tests/gen_tes_input_tests.py
+++ b/generated_tests/gen_tes_input_tests.py
@@ -53,7 +53,7 @@ class Test(object):
         name -- name of the variable to test
 
         """
-        self.var_name = name or 'var';
+        self.var_name = name or 'var'
         self.use_block = 0 if patch_in else 1
 
         if self.var_name == 'gl_Position':
@@ -320,7 +320,7 @@ def all_tests():
             for patch_in in [True, False]:
                     yield Test(type_name, array, patch_in, name=None)
     for var in ['gl_Position', 'gl_PointSize', 'gl_ClipDistance']:
-        yield Test(type_name=None, array=None, patch_in=False, name=var);
+        yield Test(type_name=None, array=None, patch_in=False, name=var)
 
 def main():
     for test in all_tests():
-- 
2.6.1



More information about the Piglit mailing list