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

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

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