'Bytes are decoded to unicode.'

def test_writeBytesDecoded(self):

    f = self.observedFile(encoding='utf-8')
    f.write('Hello,    Mr.    S\xc3\xa1nchez\n')
    self.assertEqual(f.messages, [u'Hello,    Mr.    S\xe1nchez'])
