blob: 08c308856015873791f68cd41cff2426e0137f86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|