[Piglit] [PATCH 03/34] gen_builtin_uniform_tests_fp64.py: use __future__ functions
Dylan Baker
baker.dylan.c at gmail.com
Fri Feb 20 18:17:50 PST 2015
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
generated_tests/gen_builtin_uniform_tests_fp64.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/generated_tests/gen_builtin_uniform_tests_fp64.py b/generated_tests/gen_builtin_uniform_tests_fp64.py
index 23032bd..5f6082a 100644
--- a/generated_tests/gen_builtin_uniform_tests_fp64.py
+++ b/generated_tests/gen_builtin_uniform_tests_fp64.py
@@ -44,6 +44,7 @@
# With the optional argument --names-only, it only outputs the names
# of the files; it doesn't generate them.
+from __future__ import print_function
from builtin_function_fp64 import *
import abc
import numpy
@@ -644,7 +645,7 @@ def main():
for test in all_tests():
if not options.names_only:
test.generate_shader_test()
- print test.filename()
+ print(test.filename())
if __name__ == '__main__':
--
2.3.0
More information about the Piglit
mailing list