'Similar to L{test_encodeWithErrors}, but for C{bytes.decode}.'

def test_decodeWithErrors(self):

    bytes = 'Hello    world'
    self.assertEqual(smtp.xtext_decode(bytes, 'strict'), (bytes.decode('xtext'), len(bytes)))
    self.assertEqual(bytes.decode('xtext', 'strict'), bytes.decode('xtext'))
