[Bug 1285496] [NEW] A test in src/mailman/model/docs/registration.rst fails if Python default encoding is UTF-8
Mark Sapiro
mark at msapiro.net
Thu Feb 27 06:18:55 CET 2014
Public bug reported:
The Invalid email addresses section in the doctests in
src/mailman/model/docs/registration.rst attempts to register various
invalid email addresses and checks that they are rejected.
In particular, the test
>>> registrar.register(mlist, '\xa0 at example.com')
Traceback (most recent call last):
...
InvalidEmailAddressError: \xa0 at example.com
will fail if python's sys.getdefaultencoding() returns 'UTF-8' because
the invalid address is reported with the UTF-8 encoding of nonbreaking
space rather than \xa0.
** Affects: mailman
Importance: Undecided
Status: New
** Tags: mailman3
--
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1285496
Title:
A test in src/mailman/model/docs/registration.rst fails if Python
default encoding is UTF-8
To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1285496/+subscriptions
More information about the Mailman-coders
mailing list