summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_attribute_template_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/li_attribute_template_runme.py')
-rw-r--r--Examples/test-suite/python/li_attribute_template_runme.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Examples/test-suite/python/li_attribute_template_runme.py b/Examples/test-suite/python/li_attribute_template_runme.py
index d33b12309..f0a774995 100644
--- a/Examples/test-suite/python/li_attribute_template_runme.py
+++ b/Examples/test-suite/python/li_attribute_template_runme.py
@@ -7,8 +7,7 @@ chell = li_attribute_template.Cintint(1, 2, 3)
def rassert(what, master):
if what != master:
- print what
- raise RuntimeError
+ raise RuntimeError("what: {}".format(what))
# Testing primitive by value attribute
rassert(chell.a, 1)