diff options
author | Petr Viktorin <encukou@gmail.com> | 2024-11-07 10:06:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 10:06:27 (GMT) |
commit | 78ad7e632248dc989378cabeb797b9f3d940d9f2 (patch) | |
tree | f2c11dffa28e26324ef756e1f6114b023c9fad3d /Include | |
parent | 1fe67df8e373a5177143e4a310c83438e79f9b77 (diff) | |
download | cpython-78ad7e632248dc989378cabeb797b9f3d940d9f2.zip cpython-78ad7e632248dc989378cabeb797b9f3d940d9f2.tar.gz cpython-78ad7e632248dc989378cabeb797b9f3d940d9f2.tar.bz2 |
gh-126499: test_ssl: Don't assume err.reason is a string (GH-126501)
The skipping machinery called `getattr(err, "reason", "")` on an arbitrary
exception. As intermittent Buildbot failures show, sometimes it's set
to None.
Convert it to string for this specific check.
Diffstat (limited to 'Include')
0 files changed, 0 insertions, 0 deletions