blob: a83561a840f16f87ef0f672d96cc2c7288c1133b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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":
raise RuntimeError("str failed: \"%s\"".format(o.str()))
|