summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/inplaceadd_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/inplaceadd_runme.py')
-rw-r--r--Examples/test-suite/python/inplaceadd_runme.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Examples/test-suite/python/inplaceadd_runme.py b/Examples/test-suite/python/inplaceadd_runme.py
index 7f292cbb5..3d5a1fd40 100644
--- a/Examples/test-suite/python/inplaceadd_runme.py
+++ b/Examples/test-suite/python/inplaceadd_runme.py
@@ -3,8 +3,7 @@ a = inplaceadd.A(7)
a += 5
if a.val != 12:
- print a.val
- raise RuntimeError
+ raise RuntimeError("a.val: {}".format(a.val))
a -= 5
if a.val != 7: