New submission from STINNER Victor <victor.stin...@gmail.com>: On my PR 4200 which is unrelated to networking, the following test failed once.
FAIL: test_create_connection (test.test_socket.NetworkConnectionNoServer) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/python/cpython/Lib/test/test_socket.py", line 4537, in test_create_connection self.assertIn(cm.exception.errno, expected_errnos) AssertionError: 99 not found in [111, 101] With error codes: * 99: EADDRNOTAVAIL: Cannot assign requested address * 111: ECONNREFUSED: Connection refused * 101: ENETUNREACH: Network is unreachable Maybe we shold include EADDRNOTAVAIL in the expected error codes? ---------- components: Tests messages: 305316 nosy: haypo, martin.panter, serhiy.storchaka priority: normal severity: normal status: open title: test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99) versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31910> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com