summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/director_wstring_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/director_wstring_runme.py')
-rw-r--r--Examples/test-suite/python/director_wstring_runme.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Examples/test-suite/python/director_wstring_runme.py b/Examples/test-suite/python/director_wstring_runme.py
index b7929c0d2..b6e25f4d5 100644
--- a/Examples/test-suite/python/director_wstring_runme.py
+++ b/Examples/test-suite/python/director_wstring_runme.py
@@ -17,12 +17,10 @@ b = B(u"hello")
b.get(0)
if b.get_first() != u"hello world!":
- print b.get_first()
- raise RuntimeError
+ raise RuntimeError("b.get_first(): {}".format(b.get_first()))
b.call_process_func()
if b.smem != u"hello":
- print smem
- raise RuntimeError
+ raise RuntimeError("smem: {}".format(smem))