Wrote 30 bytes to StringIO contents = ABCDEFGHIJ ... UVWXYZ[\]^ stdout