[Piglit] [PATCH] framework/shader_test.py: fix bug from commit 260f211d

Chad Versace chad.versace at linux.intel.com
Wed Jan 15 15:37:16 PST 2014


On Mon, Jan 13, 2014 at 04:13:24PM -0800, Dylan Baker wrote:
> This patch fixes a minor bug. An exception catch calls a function with a
> single leading underscore instead of two leading underscores.
> 
> CC: chad.versace at linux.intel.com
> Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
> ---
>  framework/shader_test.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/framework/shader_test.py b/framework/shader_test.py
> index f5a2bf9..aebb5d7 100755
> --- a/framework/shader_test.py
> +++ b/framework/shader_test.py
> @@ -219,8 +219,8 @@ class ShaderTest(PlainExecTest):
>                      assert(False)
>  
>          except IOError:
> -            self._report_failure("Failed to read test file "
> -                                 "{0!r}".format(self.__test_filepath))
> +            self.__report_failure("Failed to read test file "
> +                                  "{0!r}".format(self.__test_filepath))
>              return
>  
>      @property
> -- 
> 1.8.5.2

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the Piglit mailing list