diff options
author | Jingbei Li <i@jingbei.li> | 2019-01-23 15:32:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-23 15:32:13 +0800 |
commit | 73de62ffe8aada29666c809d08825a362d9fb408 (patch) | |
tree | 4b14906c5cc5aa9afebd09ab9aca4d423bd1c2e9 | |
parent | f8058c81220565d0837a4331fbec7aa8dce5aaa9 (diff) | |
download | numpy-73de62ffe8aada29666c809d08825a362d9fb408.tar.gz |
also match the stderr in get_version()
which used to fail for ifort
-rw-r--r-- | numpy/distutils/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index 100d0d069..552b9566f 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -639,7 +639,7 @@ def CCompiler_get_version(self, force=False, ok_status=[0]): return version try: - output = subprocess.check_output(version_cmd) + output = subprocess.check_output(version_cmd, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as exc: output = exc.output status = exc.returncode |