You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_ssl: non_linux_skip_if_other_okay_error assumes err.reason is a string #126499
Recently, test_ssl has been failing intermittently but frequently on macOS buildbots, see for example here.
Since #108315, there's some code to skip tests, which does getattr(err, "reason", "") on an arbitrary exception and expects that to be a string. If reason is set to None, a regex search on it fails. This prevents the calling test from checking that the error is correct.
Activity
pythongh-126499: test_ssl: Don't assume err.reason is a string
gh-126499: test_ssl: Don't assume err.reason is a string (GH-126501)
encukou commentedon Nov 7, 2024
I'll watch the buildbot for a day or two before backporting the fix.
pythongh-126499: test_ssl: Don't assume err.reason is a string (pytho…
pythongh-126499: test_ssl: Don't assume err.reason is a string (pytho…
[3.13] gh-126499: test_ssl: Don't assume err.reason is a string (GH-1…
[3.12] gh-126499: test_ssl: Don't assume err.reason is a string (GH-1…
pythongh-126499: test_ssl: Don't assume err.reason is a string (pytho…
pythongh-126499: test_ssl: Don't assume err.reason is a string (pytho…