Commit 538ea9a
pythongh-126499: test_ssl: Don't assume err.reason is a string (pythonGH-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.1 parent d75f400 commit 538ea9a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5029 | 5029 | | |
5030 | 5030 | | |
5031 | 5031 | | |
5032 | | - | |
| 5032 | + | |
5033 | 5033 | | |
5034 | 5034 | | |
5035 | 5035 | | |
| |||
0 commit comments