Author: Matti Picus <matti.pi...@gmail.com> Branch: cryptograhpt-2.7 Changeset: r97172:401d69215728 Date: 2019-08-14 16:53 +0300 http://bitbucket.org/pypy/pypy/changeset/401d69215728/
Log: fix last failing test - add lower case error message stanza diff --git a/lib_pypy/_cffi_ssl/_stdssl/error.py b/lib_pypy/_cffi_ssl/_stdssl/error.py --- a/lib_pypy/_cffi_ssl/_stdssl/error.py +++ b/lib_pypy/_cffi_ssl/_stdssl/error.py @@ -147,8 +147,8 @@ err_reason = lib.ERR_GET_REASON(errcode) reason_str = ERR_CODES_TO_NAMES.get((err_lib, err_reason), None) lib_str = LIB_CODES_TO_NAMES.get(err_lib, None) - if errstr is None: - errstr = _str_from_buf(lib.ERR_reason_error_string(errcode)) + # Set last part of msg to a lower-case version of reason_str + errstr = _str_from_buf(lib.ERR_reason_error_string(errcode)) msg = errstr if not errstr: msg = "unknown error" _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit