Skip to content

TST: correctly predict locale setability #5538

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 1 commit into from
Nov 17, 2013
Merged

TST: correctly predict locale setability #5538

merged 1 commit into from
Nov 17, 2013

Conversation

neirbowj
Copy link
Contributor

Don't join the lang and encoding when performing the trial set, because

locale.setlocale(locale.LC_ALL, ('it_CH', 'utf-8'))

succeeds, but

locale.setlocale(locale.LC_ALL, 'it_CH.utf-8')

throws locale.Error.

Closes #5537.

Don't join the lang and encoding when performing the trial set, because

    locale.setlocale(locale.LC_ALL, ('it_CH', 'utf-8'))

succeeds, but

    locale.setlocale(locale.LC_ALL, 'it_CH.utf-8')

throws locale.Error.
jtratner added a commit that referenced this pull request Nov 17, 2013
TST: correctly predict locale setability
@jtratner jtratner merged commit 2e009d7 into pandas-dev:master Nov 17, 2013
@jtratner
Copy link
Contributor

Thanks! (and it's great that Travis builds PRs now)

@neirbowj neirbowj deleted the fbsd_failing_tests branch November 17, 2013 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tools.tests.test_util:TestLocaleUtils.test_set_locale fails spuriously on FreeBSD
2 participants