-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
yahoo test error connection reset #3982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I thought the "@network" was supposed to catch these? are these not |
no the error generated is |
which apparently is not caught by |
so wish python 2 had this |
should we be catcing |
here's why that might be problem
|
of course python3 has |
in python3 |
These are network calls though, the point is to catch them (obviously if we can find a narrow exception would be good) |
but if there happens to be a file opening error in a python2 test labelled networrk it won't be caught |
so let's add the socket exceptions then (in addition to IOError) |
i did _network_error_classes = IOError, OSError
try:
ConnectionError
except NameError:
_network_error_classes += socket.error, |
but probably better is _network_error_classes = IOError,
try:
_network_error_classes += ConnectionError,
except NameError:
_network_error_classes += socket.error, |
this should work in 2.x, 3.x since 3.2 follows py2 conventions regarding exceptions |
are there other socket errors that would want to catch? |
ssl possibly |
I guess throw it in and we see more..then easy to add.... |
all exceptions in
|
here's how i got
|
missed one |
i'm not convinced that my PR is necessary, why would |
let me see if i can somehow trigger this error across a vagrant machine |
Should this be the responsibility of the function to catch these errors? Or Also, if you hit this error with internet on and then don't with internet
|
I thought the new function of the network decorator is to by default catch any network related error that is specified and then skip ? |
it ran successfully with and without internet |
So there's a separate socket error? When I tested, it was raising socket Also, if you do this, maybe we should create a function that checks whether
|
yes the |
Probably one of the tests decorated by On Fri, Jun 21, 2013 at 11:35 PM, Phillip Cloud [email protected]:
|
#3985 closes this, right? |
I see you moved #4002 to 0.12, this too? trying to close the remaining issues..... |
still failing: https://travis-ci.org/cpcloud/pandas/jobs/8478753 |
@cpcloud Just realized that I didn't set |
@jtratner 👍 nice work on the network testing wiki i went over there to write some stuff and you already did it! |
no prob On Wed, Jun 26, 2013 at 9:32 PM, Phillip Cloud [email protected]:
|
we really need to fix this...
https://travis-ci.org/cpcloud/pandas/jobs/8321921
https://travis-ci.org/cpcloud/pandas/jobs/8322345
https://travis-ci.org/jreback/pandas/jobs/8448538
https://travis-ci.org/pydata/pandas/jobs/8449118 (HTTP error here)
The text was updated successfully, but these errors were encountered: