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/2004-July/045888.html below:

[Python-Dev] New test failure, test_socket, WinXP

[Python-Dev] New test failure, test_socket, WinXPGuido van Rossum guido at python.org
Tue Jul 6 05:40:32 CEST 2004
> Tim Peters wrote:
> 
> > Fails every time, in release and debug builds:
> > 
> > test test_socket failed -- Traceback (most recent call last):
> >   File "C:\Code\python\lib\test\test_socket.py", line 311, in testGetServBy
> >     eq(socket.getservbyport(port2), service)
> > AssertionError: 'http' != 'www'
> > 
> 
> Passes on OS X.
> 
> Does it pass if you change "www" to "http" on line 292?  Might fix it by 
>   being more correct on possible services.

Ouch.  The test looks wrong.  'www' is a bogus alias for 'http' (IMO).

--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

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