PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/li_std_stream_runme.py

#
Python | 14 lines | 7 code | 7 blank | 0 comment | 1 complexity | 6410a83d96e938c15565bb8184f9b2dc MD5 | raw file
 1from li_std_stream import *
 2
 3
 4
 5a = A()
 6
 7o = ostringstream()
 8
 9o << a << " " << 2345 << " " << 1.435
10
11
12if o.str() !=  "A class 2345 1.435":
13  print "\"%s\"" % (o.str(),)
14  raise RuntimeError