Skip to content

TST/CLN: Refactor io.data.options class to improve testing #7665

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

Merged
merged 2 commits into from
Jul 7, 2014

Conversation

davidastephens
Copy link
Contributor

Removed most references to month and year (passing expiry date around instead).
Also protected with RemoteDataError checking for the expiry month links.

Fixes #7648

Removed most references to month and year (passing expiry date around instead).
Also protected with RemoteDataError checking for the expiry month links.
@jreback jreback added the Testing label Jul 4, 2014
@jreback jreback added this to the 0.14.1 milestone Jul 4, 2014
@jreback
Copy link
Contributor

jreback commented Jul 4, 2014

https://travis-ci.org/pydata/pandas/jobs/29115841

looks like need to trap that failure as well

thanks!

@davidastephens
Copy link
Contributor Author

There's no way to tell what the variables where at the time of the error on Travis CI is there? I don't want to trap too wide of an error - I'm guessing it failed there because it wasn't able to retrieve the underlying price.

@jreback
Copy link
Contributor

jreback commented Jul 4, 2014

since mkt is closed, you might be able to reprod. You can 'trap' the error, then just use print statements (it will print to the log)

Removed most references to month and year (passing expiry date around instead).
Also protected with RemoteDataError checking for the expiry month links.
@davidastephens
Copy link
Contributor Author

I recreated it. A missing underlying price. Checked to make sure there is an underlying before reducing the dataframe.

jreback added a commit that referenced this pull request Jul 7, 2014
TST/CLN: Refactor io.data.options class to improve testing
@jreback jreback merged commit be7fc39 into pandas-dev:master Jul 7, 2014
@jreback
Copy link
Contributor

jreback commented Jul 7, 2014

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TST: yahoo retrieve tests failure
2 participants