Skip to content

Commit 2e009d7

Browse files
committed
Merge pull request pandas-dev#5538 from neirbowj/fbsd_failing_tests
TST: correctly predict locale setability
2 parents d250d64 + c38258b commit 2e009d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tools/tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_set_locale(self):
6565
enc = codecs.lookup(enc).name
6666
new_locale = lang, enc
6767

68-
if not tm._can_set_locale('.'.join(new_locale)):
68+
if not tm._can_set_locale(new_locale):
6969
with tm.assertRaises(locale.Error):
7070
with tm.set_locale(new_locale):
7171
pass

0 commit comments

Comments
 (0)