[New-bugs-announce] [issue37583] Got a 113 error when running the test_socket

hai shi report at bugs.python.org
Sat Jul 13 04:34:31 EDT 2019


New submission from hai shi <shihai1991 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue37583>
_______________________________________


More information about the New-bugs-announce mailing list