188
188
address = u'Pepe P\xe9rez <pperez@ejemplo.com>' # unicode ok
189
189
encoded = EmailMessage.address_to_encoded_header(address)
193
193
address = 'Pepe P\xc3\xa9red <pperez@ejemplo.com>' # UTF-8 ok
194
194
encoded = EmailMessage.address_to_encoded_header(address)
198
198
address = 'Pepe P\xe9rez <pperez@ejemplo.com>' # ISO-8859-1 not ok
199
199
self.assertRaises(BzrBadParameterNotUnicode,