diff options
Diffstat (limited to 'Examples/test-suite/python/li_std_stream_runme.py')
| -rw-r--r-- | Examples/test-suite/python/li_std_stream_runme.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/test-suite/python/li_std_stream_runme.py b/Examples/test-suite/python/li_std_stream_runme.py new file mode 100644 index 0000000..d41e41f --- /dev/null +++ b/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 |
