[libxml2] Fix expected error output in Python tests
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix expected error output in Python tests
- Date: Thu, 1 Jun 2017 13:02:33 +0000 (UTC)
commit 83212ff4be122c424312f7a1986ee7c30f3be98c
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Thu Jun 1 12:42:03 2017 +0200
Fix expected error output in Python tests
python/tests/xpathleak.py | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/python/tests/xpathleak.py b/python/tests/xpathleak.py
index 33ab61c..6940b79 100755
--- a/python/tests/xpathleak.py
+++ b/python/tests/xpathleak.py
@@ -4,25 +4,15 @@ import sys, libxml2
libxml2.debugMemory(True)
expect="""--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
--> Invalid expression
---> xmlXPathEval: evaluation failed
"""
err=""
def callback(ctx, str):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]