New submission from Vinson Lee: 'make test' runs all the network tests.
Some of the tests in test_ssl fail instead of skip if svn.python.org is not accessible. $ ./python -m test -v -u all test_ssl ====================================================================== ERROR: test_non_blocking_connect_ex (test.test_ssl.NetworkedTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vinson/workspace/cpython-master/Lib/test/test_ssl.py", line 1404, in test_non_blocking_connect_ex s.do_handshake() File "Lib/ssl.py", line 978, in do_handshake self._check_connected() File "Lib/ssl.py", line 776, in _check_connected self.getpeername() OSError: [Errno 107] Transport endpoint is not connected ====================================================================== FAIL: test_connect_ex (test.test_ssl.NetworkedTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_ssl.py", line 1381, in test_connect_ex self.assertEqual(0, s.connect_ex(("svn.python.org", 443))) AssertionError: 0 != 111 ====================================================================== FAIL: test_timeout_connect_ex (test.test_ssl.NetworkedTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_ssl.py", line 1428, in test_timeout_connect_ex self.assertIn(rc, (errno.EAGAIN, errno.EWOULDBLOCK)) AssertionError: 111 not found in (11, 11) ---------------------------------------------------------------------- Ran 117 tests in 3.123s FAILED (failures=2, errors=1, skipped=20) test test_ssl failed 1 test failed: test_ssl ---------- components: Tests messages: 248382 nosy: vlee priority: normal severity: normal status: open title: Some test_ssl network tests fail if svn.python.org is not accessible. versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24841> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com