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, '\firstname.lastname@example.org') Traceback (most recent call last): ... InvalidEmailAddressError: \email@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
This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/74