[Bug 826861] Re: doctests failing on Centos 6 due to "unprintable" error objects

Stephen A. Goss steveth45 at gmail.com
Tue Sep 6 20:24:54 CEST 2011

Since recent code changes another test is failing in this way on Centos


File "/home/sgoss/mailman_clone/src/mailman/model/docs/registration.txt", line 61, in registration.txt
Failed example:
    registrar.register(mlist, '\xa0 at example.com')
Differences (ndiff with -expected +actual):
      Traceback (most recent call last):
    - ...
    - InvalidEmailAddressError: \xa0 at example.com
    +   File "/usr/lib64/python2.6/doctest.py", line 1248, in __run
    +     compileflags, 1) in test.globs
    +   File "<doctest registration.txt[11]>", line 1, in <module>
    +     registrar.register(mlist, '\xa0 at example.com')
    +   File "/home/sgoss/mailman_clone/src/mailman/app/registrar.py", line 60, in register
    +     getUtility(IEmailValidator).validate(email)
    +   File "/home/sgoss/mailman_clone/src/mailman/email/validate.py", line 69, in validate
    +     raise InvalidEmailAddressError(email)
    + InvalidEmailAddressError: <unprintable InvalidEmailAddressError object>

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  doctests failing on Centos 6 due to "unprintable" error objects

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list