diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-03-06 19:47:18 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-03-06 19:47:18 +0000 |
commit | 733ebda112453f0dc51d326e230bc2613704195a (patch) | |
tree | d1c8b4018c8fa27c44bbf0bc7b9dd5c82151335d /numpy/f2py/tests/util.py | |
parent | 8ed34403475e7e48232dfe3980b70eb057a2e2eb (diff) | |
download | numpy-733ebda112453f0dc51d326e230bc2613704195a.tar.gz |
BUG: f2py: fix F90 detection in the tests
Diffstat (limited to 'numpy/f2py/tests/util.py')
-rw-r--r-- | numpy/f2py/tests/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/tests/util.py b/numpy/f2py/tests/util.py index 11cf611ce..422d5965e 100644 --- a/numpy/f2py/tests/util.py +++ b/numpy/f2py/tests/util.py @@ -205,8 +205,8 @@ sys.exit(99) out, err = p.communicate() m = re.search(asbytes(r'COMPILERS:(\d+),(\d+),(\d+)'), out) if m: - _compiler_status = (bool(m.group(1)), bool(m.group(2)), - bool(m.group(3))) + _compiler_status = (bool(int(m.group(1))), bool(int(m.group(2))), + bool(int(m.group(3)))) finally: os.unlink(script) |