New submission from hai shi <shihai1...@126.com>:

When I run test_socket.py, I got a error. Looks it's a problem of security 
group.
My env: a vm of centos
May be I need add `EHOSTUNREACH` in support.get_socket_conn_refused_errs()?

======================================================================
FAIL: test_create_connection (test.test_socket.NetworkConnectionNoServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shihai/workspace/cpython/Lib/test/test_socket.py", line 4961, in 
test_create_connection
    self.assertIn(cm.exception.errno, expected_errnos)
AssertionError: 113 not found in [111, 101, 99, 97]

----------------------------------------------------------------------
Ran 814 tests in 25.929s

FAILED (failures=1, errors=117, skipped=197)

----------
components: Tests
messages: 347786
nosy: shihai1991
priority: normal
severity: normal
status: open
title: Got a 113 error when running the test_socket

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37583>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to