Skip to content

Commit 36fcb9f

Browse files
committed
Just focus on the locals we're migrating
1 parent a5e6e29 commit 36fcb9f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/_testing/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@
192192

193193
# Our Linux CI environments install the associated language packs
194194
TESTING_LOCALES = [
195-
loc
196-
for loc in get_locales() or []
197-
if any(loc == target for target in ("", "it_IT.UTF-8", "zh_CN.UTF-8"))
195+
loc for loc in get_locales() or [] if loc in {"it_IT.UTF-8", "zh_CN.UTF-8"}
198196
]
199197

200198
# set testing_mode

0 commit comments

Comments
 (0)