Commit fdefe67
Fix exception handling in test.support.bind_port.
In Python 3.3, exceptions on sockets raise OSError, but since this code
is a backport for 2.x, it needs to use the previous exception type,
namely, socket.error.1 parent cae65f4 commit fdefe67
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
0 commit comments