A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-October/029411.html below:

[Python-Dev] Tests failing in MacPython 2.2.2

[Python-Dev] Tests failing in MacPython 2.2.2 [Python-Dev] Tests failing in MacPython 2.2.2Barry A. Warsaw barry@python.org
Tue, 8 Oct 2002 20:11:33 -0400
>>>>> "JJ" == Jack Jansen <Jack.Jansen@oratrix.com> writes:

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

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

Re-reading this, are you saying that this failure is on MacOS9 only?
That test passes just fine on OSX 10.2 and the data looks just fine to
me, so this must be an OS9 failure only.

Maybe the thing to do is to open msg_26.txt in binary mode, but only
on MacOS9?  Maybe we should add a sys.platform test to
test_crlf_separation()?

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4