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, '\[email protected]')
    Traceback (most recent call last):
    ...
    InvalidEmailAddressError: \[email protected]

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
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to