summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_std_stream_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/li_std_stream_runme.py')
-rw-r--r--Examples/test-suite/python/li_std_stream_runme.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Examples/test-suite/python/li_std_stream_runme.py b/Examples/test-suite/python/li_std_stream_runme.py
index 08c308856..a4526f07b 100644
--- a/Examples/test-suite/python/li_std_stream_runme.py
+++ b/Examples/test-suite/python/li_std_stream_runme.py
@@ -9,5 +9,4 @@ o << a << " " << 2345 << " " << 1.435
if o.str() != "A class 2345 1.435":
- print "\"%s\"" % (o.str(),)
- raise RuntimeError
+ raise RuntimeError("str failed: \"%s\"".format(o.str()))