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

Brett C. bac at OCF.Berkeley.EDU
Tue Jul 6 04:05:24 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.


More information about the Python-Dev mailing list