pydata/pandas — pull request #5538 by neirbowj (2013-11-17 14:24:40+00:00)
Title: TST: correctly predict locale setability

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.