[Piglit] [PATCH 37/45] gen_interpolation_tests.py: use print_function

Dylan Baker baker.dylan.c at gmail.com
Wed Nov 12 15:46:19 PST 2014


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

diff --git a/generated_tests/gen_interpolation_tests.py b/generated_tests/gen_interpolation_tests.py
index 6b77c6a..b912e67 100644
--- a/generated_tests/gen_interpolation_tests.py
+++ b/generated_tests/gen_interpolation_tests.py
@@ -67,6 +67,7 @@ This program outputs, to stdout, the name of each file it generates.
 
 """
 
+from __future__ import print_function
 import os
 import textwrap
 
@@ -361,7 +362,7 @@ def all_tests():
 def main():
     for test in all_tests():
         test.generate()
-        print test.filename()
+        print(test.filename())
 
 
 if __name__ == '__main__':
-- 
2.1.3



More information about the Piglit mailing list