[Piglit] [PATCH] oclconform: Encode regex with 'unicode_escape' instead for 'string_escape'
Tom Stellard
thomas.stellard at amd.com
Thu Feb 11 00:29:11 UTC 2016
This fixes a run-time error with python 3.4.
---
framework/test/oclconform.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/test/oclconform.py b/framework/test/oclconform.py
index cad00dd..0a64499 100644
--- a/framework/test/oclconform.py
+++ b/framework/test/oclconform.py
@@ -87,7 +87,7 @@ def add_oclconform_tests(profile):
'list_subtests')
subtest_regex = PIGLIT_CONFIG.get(test_section_name,
'subtest_regex')
- subtest_regex.encode('string_escape')
+ subtest_regex.encode('unicode_escape')
run_subtests = PIGLIT_CONFIG.get(test_section_name, 'run_subtest')
list_tests = list_tests.split()
--
2.0.4
More information about the Piglit
mailing list