8000 also match the stderr in get_version() · numpy/numpy@a6f9c9f · GitHub
[go: up one dir, main page]

Skip to content

Commit a6f9c9f

Browse files
petronnycharris
authored andcommitted
also match the stderr in get_version()
which used to fail for ifort
1 parent 1b5b0b4 commit a6f9c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/distutils/ccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def matcher(version_string):
639639
return version
640640

641641
try:
642-
output = subprocess.check_output(version_cmd)
642+
output = subprocess.check_output(version_cmd, stderr=subprocess.STDOUT)
643643
except subprocess.CalledProcessError as exc:
644644
output = exc.output
645645
status = exc.returncode

0 commit comments

Comments
 (0)
0