This patch fixes a minor bug. An exception catch calls a function with a
single leading underscore instead of two leading underscores.

CC: [email protected]
Signed-off-by: Dylan Baker <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to