-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: utils.testing.get_locales() #9744
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
it DOES run, but you have to override the locale; see the |
see the install section: https://travis-ci.org/pydata/pandas/jobs/55924400 |
hmm, looking at the code it does seem that it is overriden... |
I tried that in a test branch. The problem is the code in pandas.utils.get_locales(). You get the locales: So the function never returns any locales. I made the fix in: And the Travis test has a bunch of errors in TestGoogle (because it wasn't running before). |
I'm fixing up the data-readers code, when I finish I'll make a pull request to update the pandas data / test_data code, then a pull request to fix this bug. |
@dstephens99 ok, gr8! |
Line 334: raw_locales = [] deletes the data received from locale_getter, so the return from this function is always a blank list.
https://github.com/pydata/pandas/blob/8d2818e32d0bbb50e183ccb5724c391e4f604670/pandas/util/testing.py#L334
The text was updated successfully, but these errors were encountered: