summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAntoine Pitrou <antoine@python.org>2016-07-21 20:45:27 +0200
committerAntoine Pitrou <antoine@python.org>2016-07-25 14:32:48 +0200
commitf7a5d04630f9324c53480c38a16ec0edf8ca5ddf (patch)
tree23e5eca345db1ff3de39558a279ab36a21cc14bf /tools
parent93240e0d8ea23644a5b7874037e658c54966ff54 (diff)
downloadpython-numpy-f7a5d04630f9324c53480c38a16ec0edf8ca5ddf.tar.gz
python-numpy-f7a5d04630f9324c53480c38a16ec0edf8ca5ddf.tar.bz2
python-numpy-f7a5d04630f9324c53480c38a16ec0edf8ca5ddf.zip
BLD: rewrite np.distutils.exec_command.exec_command()
exec_command() is currently a mess of several implementations using outdated Python APIs and various hacks. This rewrites it to use the standard subprocess module. See PR #7614 for previous discussion.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh
index 6ed51ee91..f598d0db5 100755
--- a/tools/travis-test.sh
+++ b/tools/travis-test.sh
@@ -165,6 +165,9 @@ elif [ -n "$USE_SDIST" ] && [ $# -eq 0 ]; then
elif [ -n "$USE_CHROOT" ] && [ $# -eq 0 ]; then
DIR=/chroot
setup_chroot $DIR
+ # the chroot'ed environment will not have the current locale,
+ # avoid any warnings which may disturb testing
+ export LANG=C LC_ALL=C
# run again in chroot with this time testing
sudo linux32 chroot $DIR bash -c \
"cd numpy && PYTHON=python PIP=pip IN_CHROOT=1 $0 test"