'The L{codecs} module, oddly, returns a file-like object which returns
bytes when not passed an \'encoding\' argument.'

def test_codecsOpenBytes(self):

    with codecs.open(self.mktemp(), 'wb') as f:
        self.assertEqual(ioType(f), bytes)
