[New-bugs-announce] [issue16257] test_socket.test_create_connection tests for wrong errno on Solaris

Trent Nelson report at bugs.python.org
Wed Oct 17 04:18:11 CEST 2012


New submission from Trent Nelson:

======================================================================
FAIL: test_create_connection (test.test_socket.NetworkConnectionNoServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cpython/buildslave/3.x.snakebite-solaris10-u10ga2-sparc64-1/build/Lib/test/test_socket.py", line 4112, in test_create_connection
    self.assertEqual(cm.exception.errno, errno.ECONNREFUSED)
AssertionError: 128 != 146

>>> errno.errorcode[128]
'ENETUNREACH'

Needs a Solaris-specific exception.

----------
messages: 173123
nosy: trent
priority: normal
severity: normal
status: open
title: test_socket.test_create_connection tests for wrong errno on Solaris
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16257>
_______________________________________


More information about the New-bugs-announce mailing list