Message50513
| Author |
brett.cannon |
| Recipients |
| Date |
2006年06月20日.15:57:39 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
When a socket connection is refused, it isn't a failure
of the test, it could just be network issues or the
site that we are trying to connect to (we really need
to point all tests to python.org but I don't know if we
has SSL set up).
The attached patch catches socket.error and checks if
it is because of a connection refusal (based on its
errno). If that is the case, the test to returns,
otherwise the exception is re-raised. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:52:57 | admin | link | issue1509404 messages |
| 2007年08月23日 15:52:57 | admin | create |
|