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

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 13 16:13:24 PST 2014


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



More information about the Piglit mailing list