summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_std_wstream_runme.py
blob: 045645b615538b6ce879b4f6866f85a33c1ec9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from li_std_wstream import *


a = A()

o = wostringstream()

o << a << u" " << 2345 << u" " << 1.435 << wends

if o.str() != "A class 2345 1.435\0":
    print "\"%s\"" % (o.str(),)
    raise RuntimeError