test_cli: on win32, force en_US.UTF-8 rather than running locale -e
This commit is contained in:
parent
781d791e03
commit
469c94dc4e
|
@ -147,6 +147,8 @@ class LocaleFinder:
|
||||||
|
|
||||||
@inlineCallbacks
|
@inlineCallbacks
|
||||||
def find_utf8_locale(self):
|
def find_utf8_locale(self):
|
||||||
|
if sys.platform == "win32":
|
||||||
|
returnValue("en_US.UTF-8")
|
||||||
if self._run_once:
|
if self._run_once:
|
||||||
returnValue(self._best_locale)
|
returnValue(self._best_locale)
|
||||||
self._best_locale = yield self._find_utf8_locale()
|
self._best_locale = yield self._find_utf8_locale()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user