1 # Tests StringIO and cStringIO
4 s
= ("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"+'\n')*5
8 print len(f
.readlines(60))
19 f
.writelines(["a", "b", "c"])
36 print "Caught expected ValueError writing to closed StringIO:"
39 print "Failed to catch ValueError writing to closed StringIO."
41 import StringIO
, cStringIO