[Mailman-Developers] MM 3 alpha 4: UnicodeWarning
Ian Eiloart
iane at sussex.ac.uk
Mon Nov 30 18:24:14 CET 2009
I got a unicode warning, too. Running alpha4 with python26 on OSX 10.5. I
didn't have Pyrex installed, and got warnings during the build process.
Don't know if that's related.
bin/test
Test-module import failures:
Module: mailman.tests.test_documentation
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 22:
ordinal not in range(128)
Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Error in test test_SMTP32_failure (mailman.tests.test_bounces.BounceTest)
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
line 279, in run
testMethod()
File "/Users/iane/Downloads
•/mailman-3.0.0a4/src/mailman/tests/test_bounces.py", line 193, in
test_SMTP32_failure
with open(os.path.join(MSGDIR, 'postfix_01.txt')) as fp:
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py",
line 70, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 22:
ordinal not in range(128)
Error in test test_bounce (mailman.tests.test_bounces.BounceTest)
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
line 279, in run
testMethod()
File "/Users/iane/Downloads
•/mailman-3.0.0a4/src/mailman/tests/test_bounces.py", line 175, in
test_bounce
path = os.path.join(MSGDIR, filename)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py",
line 70, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 22:
ordinal not in range(128)
Ran 23 tests with 0 failures and 2 errors in 0.468 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Test-modules with import problems:
mailman.tests.test_documentation
--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/
More information about the Mailman-Developers
mailing list