From 469c94dc4e6a842e6d02488ca77edae2a0c6af2c Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 7 Apr 2017 11:09:57 -0700 Subject: [PATCH] test_cli: on win32, force en_US.UTF-8 rather than running locale -e --- src/wormhole/test/test_cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wormhole/test/test_cli.py b/src/wormhole/test/test_cli.py index 086f18c..b963d10 100644 --- a/src/wormhole/test/test_cli.py +++ b/src/wormhole/test/test_cli.py @@ -147,6 +147,8 @@ class LocaleFinder: @inlineCallbacks def find_utf8_locale(self): + if sys.platform == "win32": + returnValue("en_US.UTF-8") if self._run_once: returnValue(self._best_locale) self._best_locale = yield self._find_utf8_locale()