diff options
Diffstat (limited to 'trunk/Examples/test-suite/python/li_std_stream_runme.py')
-rw-r--r-- | trunk/Examples/test-suite/python/li_std_stream_runme.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/li_std_stream_runme.py b/trunk/Examples/test-suite/python/li_std_stream_runme.py new file mode 100644 index 000000000..d41e41f4a --- /dev/null +++ b/trunk/Examples/test-suite/python/li_std_stream_runme.py @@ -0,0 +1,14 @@ +from li_std_stream import * + + + +a = A() + +o = ostringstream() + +o << a << " " << 2345 << " " << 1.435 + + +if o.str() != "A class 2345 1.435": + print "\"%s\"" % (o.str(),) + raise RuntimeError |