'Python 2\'s L{StringIO} and L{cStringIO} modules are both binary I/O.'

def test_2StringIO(self):

    from cStringIO import StringIO as cStringIO
    from StringIO import StringIO
    self.assertEqual(ioType(StringIO()), bytes)
    self.assertEqual(ioType(cStringIO()), bytes)
