Commit d62f100
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.
(cherry picked from commit 78ad7e6)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 75d251b commit d62f100
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4817 | 4817 | | |
4818 | 4818 | | |
4819 | 4819 | | |
4820 | | - | |
| 4820 | + | |
4821 | 4821 | | |
4822 | 4822 | | |
4823 | 4823 | | |
| |||
0 commit comments