| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d75f400 commit 538ea9a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5029,7 +5029,7 @@ def non_linux_skip_if_other_okay_error(self, err): | |||
| 5029 | 5029 | return # Expect the full test setup to always work on Linux. | |
| 5030 | 5030 | if (isinstance(err, ConnectionResetError) or | |
| 5031 | 5031 | (isinstance(err, OSError) and err.errno == errno.EINVAL) or | |
| 5032 | - re.search('wrong.version.number', getattr(err, "reason", ""), re.I)): | ||
| 5032 | + re.search('wrong.version.number', str(getattr(err, "reason", "")), re.I)): | ||
| 5033 | 5033 | # On Windows the TCP RST leads to a ConnectionResetError | |
| 5034 | 5034 | # (ECONNRESET) which Linux doesn't appear to surface to userspace. | |
| 5035 | 5035 | # If wrap_socket() winds up on the "if connected:" path and doing | |
| Back | FazBrowse Home | New Git URL |
0 commit comments