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/2003-April/035048.html below:

[Python-Dev] Failin tests on Windows

[Python-Dev] Failin tests on WindowsGuido van Rossum guido@python.org
Fri, 25 Apr 2003 11:21:55 -0400
> test_urllib.py is crashing on my fresh WinMe build:
> 
> test_fileno (__main__.urlopen_FileTests) ... FAIL
> test_iter (__main__.urlopen_FileTests) ... FAIL
> test_read (__main__.urlopen_FileTests) ... FAIL
> test_readline (__main__.urlopen_FileTests) ... FAIL
> test_readlines (__main__.urlopen_FileTests) ... FAIL

Should be fixed now -- I'm writing the file with test data in binary
mode.

I think that it would be preferably if the socket._fileobject class
would actually interpret the mode argument, but it's never done that,
so I'm not in a hurry to add this feature to this already hairy class.
(Better wait until the new "sio" class -- see sandbox.)

> Two of the test cases are failing in test_socket.py 
> on a fresh build for WinMe:
> 
> testIPv4toString (__main__.GeneralModuleTests) ... ERROR
> testStringToIPv4 (__main__.GeneralModuleTests) ... ERROR

Fixed too, by skipping the tests of inet_ntop() and inet_pton() when
they don't exist.

All tests now pass for me, both on Linux (Red Hat 7.8) and Windows
(Win 98 second edition).

--Guido van Rossum (home page: http://www.python.org/~guido/)



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