[Python-bugs-list] [ python-Bugs-661340 ] test_httplib fails on the mac

noreply@sourceforge.net noreply@sourceforge.net
Thu, 02 Jan 2003 14:13:45 -0800


Bugs item #661340, was opened at 2003-01-02 23:13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661340&group_id=5470

Category: Python Interpreter Core
Group: Python 2.3
Status: Open
Resolution: None
Priority: 7
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jeremy Hylton (jhylton)
Summary: test_httplib fails on the mac

Initial Comment:
test_httplib fails on MacPython-OS9. This is because the output contains \r and \n characters, and this fails on MacOS9.

There are two problems really:
1. output/test_httplib is checked in as a text file, while it is a binary file (it contains some \r\n data) or even (brrr:-) mixed-mode (it also contains \n lineendings).
2. The output file is opened in text mode (when re-reading the data), so this can probably not be fixed by a simple cvs admin -kb.

I think that putting repr()s in the output in stead of raw strings is probably good enough, but you probably know better what is going on here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=661340&group_id=5470