Commit b732b4f
authored
tests: Attempt to inhibit spurious ConnectionResetError on Windows (#1190)
The proactor stuff on Windows raises a spurious `ConnectionResetError`
while trying to shut down a socket in the `connection_lost` path. This
is likely a Python bug (and nobody noticed because this is a background
exception). Try to filter it out before complaining.1 parent cee97e1 commit b732b4f
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
121 | 133 | | |
122 | 134 | | |
123 | | - | |
| 135 | + | |
124 | 136 | | |
125 | 137 | | |
126 | 138 | | |
| |||
0 commit comments