summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorgfyoung <gfyoung@mit.edu>2016-01-25 21:07:12 +0000
committergfyoung <gfyoung@mit.edu>2016-01-25 21:50:12 +0000
commit588a1c3e42302418de80eb5f7da4ad375228396e (patch)
tree636aef59cda23c37024666ca63f155245f7123b2 /numpy/polynomial/polyutils.py
parent471bab33bbfac24df42221b5c5739a190ca4018e (diff)
downloadnumpy-588a1c3e42302418de80eb5f7da4ad375228396e.tar.gz
TST: Fixed f2py test for non-versioned python executables
The 'sys.executable' can come in various names, but the three main ones are "python", "python{major_version}", and "python{major_version.minor_version}". The current version of the f2py test assumes that only the latter two are used. Since "f2py" is generally versioned, using the executable basename "python" will make it impossible to find. This commit fixes that issue by using a sure-fire way of getting the Python version.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions