This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_socket.test_create_connection tests for wrong errno on Solaris
Type: Stage:
Components: Versions: Python 3.2, Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jcea, python-dev, trent
Priority: normal Keywords:

Created on 2012-10-17 02:18 by trent, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg173123 - (view) Author: Trent Nelson (trent) * (Python committer) Date: 2012-10-17 02:18
======================================================================
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.
msg173152 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-17 10:16
New changeset b5fa9d8603b6 by Trent Nelson in branch '3.2':
Issue #16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/b5fa9d8603b6

New changeset 6a938ce6315c by Trent Nelson in branch '3.3':
Issue #16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/6a938ce6315c

New changeset 37a59bd23578 by Trent Nelson in branch 'default':
Issue #16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/37a59bd23578
msg173232 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-18 05:35
New changeset 8599036d9140 by Trent Nelson in branch '2.7':
Issue #16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/8599036d9140
History
Date User Action Args
2022-04-11 14:57:37adminsetgithub: 60461
2012-10-18 05:35:15python-devsetmessages: + msg173232
2012-10-17 10:17:17trentsetstatus: open -> closed
resolution: fixed
2012-10-17 10:16:15python-devsetnosy: + python-dev
messages: + msg173152
2012-10-17 03:08:17jceasetnosy: + jcea
2012-10-17 02:18:11trentcreate