[Piglit] [PATCH 09/34] gen_non-lvalue_tests.py: make python2/3 compatible
Dylan Baker
baker.dylan.c at gmail.com
Fri Feb 20 18:17:56 PST 2015
This just needs to be changed to render_unicode, since unicode is the
same between python2 and python3.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
generated_tests/gen_non-lvalue_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generated_tests/gen_non-lvalue_tests.py b/generated_tests/gen_non-lvalue_tests.py
index 8b90353..de785c9 100644
--- a/generated_tests/gen_non-lvalue_tests.py
+++ b/generated_tests/gen_non-lvalue_tests.py
@@ -68,7 +68,7 @@ def generate(dirname, type_name, op, usage, shader_target):
print(filename)
with open(filename, 'w') as f:
f.write(TEMPLATES.get_template(
- '{0}.glsl_parser_test.mako'.format(usage)).render(
+ '{0}.glsl_parser_test.mako'.format(usage)).render_unicode(
type_name=type_name,
mode=mode,
dest=dest,
--
2.3.0
More information about the Piglit
mailing list