[Piglit] [PATCH] oclconform: Encode regex with 'unicode_escape' instead for 'string_escape'

Dylan Baker baker.dylan.c at gmail.com
Thu Feb 11 02:09:34 UTC 2016


I wouldn't have come up with that just looking at it, but yeah, that
makes sense.

Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>

As an aside: Do you need the patch that I sent or is it useless?

Quoting Tom Stellard (2016-02-10 16:29:11)
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160210/b4e65224/attachment.sig>


More information about the Piglit mailing list