File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 26
26
)
27
27
28
28
from pandas ._typing import Dtype
29
+ from pandas .compat import is_platform_linux
29
30
30
31
from pandas .core .dtypes .common import (
31
32
is_float_dtype ,
191
192
EMPTY_STRING_PATTERN = re .compile ("^$" )
192
193
193
194
# Our Linux CI environments install the associated language packs
194
- TESTING_LOCALES = [
195
- loc for loc in get_locales () or [] if loc in {"it_IT.UTF-8" , "zh_CN.UTF-8" }
196
- ]
195
+ if os .environ .get ("PANDAS_CI" , "0" ) == "1" and is_platform_linux ():
196
+ ci_locales = get_locales () or []
197
+ else :
198
+ ci_locales = []
199
+ TESTING_LOCALES = [loc for loc in ci_locales if loc in {"it_IT.UTF-8" , "zh_CN.UTF-8" }]
197
200
198
201
# set testing_mode
199
202
_testing_mode_warnings = (DeprecationWarning , ResourceWarning )
You can’t perform that action at this time.
0 commit comments