Message248382
'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 |
|
Date |
User |
Action |
Args |
2015-08-11 00:29:01 | vlee | set | recipients:
+ vlee |
2015-08-11 00:29:01 | vlee | set | messageid: <1439252941.43.0.787973342114.issue24841@psf.upfronthosting.co.za> |
2015-08-11 00:29:01 | vlee | link | issue24841 messages |
2015-08-11 00:29:00 | vlee | create | |
|