Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_socket.test_create_connection tests for wrong errno on Solaris #60461

Closed
tpn opened this issue Oct 17, 2012 · 3 comments
Closed

test_socket.test_create_connection tests for wrong errno on Solaris #60461

tpn opened this issue Oct 17, 2012 · 3 comments

Comments

@tpn
Copy link
Member

tpn commented Oct 17, 2012

BPO 16257
Nosy @jcea, @tpn

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-10-17.10:17:17.579>
created_at = <Date 2012-10-17.02:18:11.640>
labels = []
title = 'test_socket.test_create_connection tests for wrong errno on Solaris'
updated_at = <Date 2012-10-18.05:35:15.465>
user = 'https://github.com/tpn'

bugs.python.org fields:

activity = <Date 2012-10-18.05:35:15.465>
actor = 'python-dev'
assignee = 'none'
closed = True
closed_date = <Date 2012-10-17.10:17:17.579>
closer = 'trent'
components = []
creation = <Date 2012-10-17.02:18:11.640>
creator = 'trent'
dependencies = []
files = []
hgrepos = []
issue_num = 16257
keywords = []
message_count = 3.0
messages = ['173123', '173152', '173232']
nosy_count = 3.0
nosy_names = ['jcea', 'trent', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue16257'
versions = ['Python 3.2', 'Python 3.3', 'Python 3.4']

@tpn
Copy link
Member Author

tpn commented Oct 17, 2012

======================================================================
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.

@python-dev
Copy link
Mannequin

python-dev mannequin commented Oct 17, 2012

New changeset b5fa9d8603b6 by Trent Nelson in branch '3.2':
Issue bpo-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 bpo-16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/6a938ce6315c

New changeset 37a59bd23578 by Trent Nelson in branch 'default':
Issue bpo-16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/37a59bd23578

@tpn tpn closed this as completed Oct 17, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented Oct 18, 2012

New changeset 8599036d9140 by Trent Nelson in branch '2.7':
Issue bpo-16257: make test_create_connection() handle ENETUNREACH.
http://hg.python.org/cpython/rev/8599036d9140

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant