From 5fd4cee73875e2173d96fcb9e0601542a3950f18 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Thu, 14 May 2015 06:59:33 -0400 Subject: [PATCH] Set the environment variable --- .travis/run.sh | 4 ---- tox.ini | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis/run.sh b/.travis/run.sh index 971ce4896..ab2c7e966 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -2,10 +2,6 @@ set -e set -x -# This is required in order to get UTF-8 output inside of the subprocesses that -# our tests use. -export LC_CTYPE=en_US.UTF-8 - # We want to create the virtual environment here, but not actually run anything tox --notest diff --git a/tox.ini b/tox.ini index b9cd881fb..76ddee28d 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,10 @@ envlist = docs, packaging, pep8, py3pep8, py26, py27, py32, py33, py34, pypy [testenv] +setenv = + # This is required in order to get UTF-8 output inside of the subprocesses + # that our tests use. + LC_CTYPE = en_US.UTF-8 deps = -r{toxinidir}/dev-requirements.txt commands = py.test --timeout 300 [] install_command = python -m pip install --pre {opts} {packages}