Skip to content

TST: get options issue #7561

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

Closed
jreback opened this issue Jun 24, 2014 · 1 comment · Fixed by #7564
Closed

TST: get options issue #7561

jreback opened this issue Jun 24, 2014 · 1 comment · Fixed by #7564
Labels
Testing pandas testing functions or related to the test suite
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Jun 24, 2014

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

@cpcloud

cc @dstephens99

@jreback jreback added this to the 0.14.1 milestone Jun 24, 2014
@davidastephens
Copy link
Contributor

We probably don't need both an assert in the else and an assert afterwards. I will send a pull request that cleans up the tests that has both. Seems like a merge problem.

def test_get_near_stock_price(self):
    try:
        options = self.aapl.get_near_stock_price(call=True, put=True,
                                                 expiry=self.expiry)
    except RemoteDataError as e:
        nose.SkipTest(e)
    else:
        assert len(options) > 1

    self.assertTrue(len(options) > 1)

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 a pull request may close this issue.

2 participants