summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-03-30 16:32:09 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-03-30 16:32:09 +0100
commitd5f9cb0e2b207d469ae9596eb9097cde4a198911 (patch)
treedb4ab873e95df44b12252de39f3bc1362a7c7a93 /runtests.py
parentee6780faf1308f2e0e8cb056f5a4ad5c89aaf191 (diff)
downloadpython-numpy-d5f9cb0e2b207d469ae9596eb9097cde4a198911.tar.gz
python-numpy-d5f9cb0e2b207d469ae9596eb9097cde4a198911.tar.bz2
python-numpy-d5f9cb0e2b207d469ae9596eb9097cde4a198911.zip
BUG: Fix runtests to not assume os.pathsep is :
Diffstat (limited to 'runtests.py')
-rwxr-xr-xruntests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.py b/runtests.py
index 966781302..f4abd91d6 100755
--- a/runtests.py
+++ b/runtests.py
@@ -142,7 +142,7 @@ def main(argv):
site_dir, site_dir_noarch = build_project(args)
sys.path.insert(0, site_dir)
sys.path.insert(0, site_dir_noarch)
- os.environ['PYTHONPATH'] = site_dir + ':' + site_dir_noarch
+ os.environ['PYTHONPATH'] = site_dir + os.pathsep + site_dir_noarch
extra_argv = args.args[:]
if extra_argv and extra_argv[0] == '--':