[pypy-commit] pypy py3.6: Is it only on my machine? 10% of the time, the test fails because the error is:

amauryfa pypy.commits at gmail.com
Sun Apr 22 17:26:50 EDT 2018


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.6
Changeset: r94418:2360f76c2d3c
Date: 2018-04-22 21:39 +0200
http://bitbucket.org/pypy/pypy/changeset/2360f76c2d3c/

Log:	Is it only on my machine? 10% of the time, the test fails because
	the error is: '[SSL: NO_SHARED_CIPHER] error:14077410:SSL
	routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure'

diff --git a/lib-python/3/test/test_ssl.py b/lib-python/3/test/test_ssl.py
--- a/lib-python/3/test/test_ssl.py
+++ b/lib-python/3/test/test_ssl.py
@@ -3087,7 +3087,7 @@
                 with context.wrap_socket(socket.socket()) as s:
                     with self.assertRaises(OSError):
                         s.connect((HOST, server.port))
-            self.assertIn("no shared cipher", str(server.conn_errors[0]))
+            self.assertEqual("NO_SHARED_CIPHER", server.conn_errors[0].reason)
 
         def test_version_basic(self):
             """


More information about the pypy-commit mailing list