Comment 0 for bug 1280100

Tan Lin (tan-lin-good) wrote :

Import StringIO
StringIO.StringIO()

should be :
Import six
six.StringIO()

six.StringIO is an alias for StringIO.StringIO in Python 2 and io.StringIO in Python3.

For Python3 compatible.