From: Reuben Thomas Date: Tue, 30 Jan 2018 01:49:50 +0000 (+0000) Subject: Set DEFAULT_CHARSET to ASCII for tests X-Git-Tag: v3.7~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64465334d1adbf40ce2934be3ecd2c9687114d3c;p=recode Set DEFAULT_CHARSET to ASCII for tests Avoid problems with implicit surfaces in some charsets. --- diff --git a/tests/common.py b/tests/common.py index a759aa9..2d62009 100644 --- a/tests/common.py +++ b/tests/common.py @@ -35,6 +35,7 @@ def setup_module(module): 'LC_ALL', 'LC_MESSAGES', 'LC_COLLATE'): if variable in os.environ: del os.environ[variable] + os.environ['DEFAULT_CHARSET'] = 'ASCII' run.external = outer is None import tempfile run.work = tempfile.mktemp()