summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/swigobject_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/swigobject_runme.py')
-rw-r--r--Examples/test-suite/python/swigobject_runme.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Examples/test-suite/python/swigobject_runme.py b/Examples/test-suite/python/swigobject_runme.py
index de232f580..3b18a6b74 100644
--- a/Examples/test-suite/python/swigobject_runme.py
+++ b/Examples/test-suite/python/swigobject_runme.py
@@ -23,8 +23,7 @@ xstr2 = str.lstrip(xstr2, "0")
xstr2 = str.upper(xstr2)
if xstr1 != xstr2:
- print xstr1, xstr2
- raise RuntimeError
+ raise RuntimeError("Not equal failed {} {}".format(xstr1, xstr2))
s = str(a.this)
r = repr(a.this)