[Python-Dev] Tests failing in MacPython 2.2.2

Jack Jansen Jack.Jansen@oratrix.com
Tue, 8 Oct 2002 23:46:59 +0200


Aside from the usual suspects I have three tests failing in 
MacPython 2.2.2: test_atexit, test_email and test_httplib.

The first one should be easy to fix: backport the revision 1.7 
fix. Would that cause any problems on other platforms?

The other two I have no idea of what could be causing them, so I 
need suggestions. I can't copy/paste, so I'll retype a bit.

test_email: assertion failed, 2042 != 2. from line 1793 in 
test_crlf_separation.
Could this have something to do with MacPython 2.2's "poor man's 
universal newlines"? (MacPython 2.2.X will read both \r and \n 
as \n for files opened in text mode, but not \r\n. This quick 
hack was put in to make 2.2 usable on OSX).

test_httplib: mismatch in lines 9-12 of expected output. It 
wanted two header: Set-Cookie: lines, but got nothing.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -