-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
FAIL: test_get_multi2 (pandas.io.tests.test_data.TestGoogle) #4357
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
do you get this failure consistently? this will be fixed in 0.13, these tests need a little tlc |
Yes. In any case, a week has business days, why would shape[0] be 4 and not 5? |
1/16 is MLK day (not a trading day)...prob bad test |
Yes, but many assets trade on "non-trading days", and Google is obviously returning quotes for GE. |
Here's what I get when I run the two lines you've pasted above
Call me crazy, but that looks pretty inconsistent to me. |
Calls you crazy ;-) Well I'm at a loss. Their homepage lists no prices for GE on MLK: http://is.gd/tS7gsC The problem is that some people package software in a way that breaks when tests do not pass: So flaky tests like these should probably not be included. I do still wonder where this inconsistency is coming from? |
can you post: |
Python 2.7.5, IPython 0.13.2, numpy 1.7.1, up-to-date Arch Linux. I was actually running an Intel MKL-enabled version of numpy 1.7.1, but replacing it with the stock distro package doesn't change the query result. |
@nickray also are you using master? i have an almost identical setup, i use arch too you can easily get this info via the |
The AUR PKGBUILD is fetching http://pypi.python.org/packages/source/p/pandas/pandas-0.12.0.tar.gz, which I assume is the official release? Or what do you mean with master? |
@nickray release is fine |
It was suggested on https://aur.archlinux.org/packages/python2-pandas/ that this might be a locale issue. However, running in an empty "env" doesn't help. |
@nickray What do you mean an empty env? Here's the output of
continuum.io should respect locale settings and if that's the issue then it won't matter which version of pandas you use what is your locale? i'll try to repro using your locale |
My locale is exactly the same. By empty env I mean "env -i /bin/sh" and then starting python from that. |
@nickray did you happen to do your call before 9:30am EST? maybe it has different behavior while us mkts are closed.... (if it does then its weird....but possible) |
@jreback: No influence, same shape 5, 3 now that the markets are open. |
As a note - I packaged this Arch package and I checked on 2 machines that all tests pass before I uploaded it. When I've set LANG=C all worked, although I've seen few locale related failures, so that's why I suggested checking locale. Can it be not locale but location dependent? Because it passes for me on same system with same versions of software (unless some optional dependencies can affect this? I have all optional dependencies installed on my machine) - I've checked again right now and it still pass for me. |
related to #4242? same test? |
this was never resolved... so not sure |
hmm...wonder if its locale related |
@cpcloud you are looking at these? (the locale issue) |
Yep
|
closed by #5073 |
has shape (5, 3), not (4, 3) as claimed in the test:
The text was updated successfully, but these errors were encountered: