[Numpy-svn] r8279 - trunk/numpy/f2py/tests

numpy-svn@scip... numpy-svn@scip...
Sat Mar 6 13:47:18 CST 2010


Author: ptvirtan
Date: 2010-03-06 13:47:18 -0600 (Sat, 06 Mar 2010)
New Revision: 8279

Modified:
   trunk/numpy/f2py/tests/util.py
Log:
BUG: f2py: fix F90 detection in the tests

Modified: trunk/numpy/f2py/tests/util.py
===================================================================
--- trunk/numpy/f2py/tests/util.py	2010-03-06 19:39:09 UTC (rev 8278)
+++ trunk/numpy/f2py/tests/util.py	2010-03-06 19:47:18 UTC (rev 8279)
@@ -205,8 +205,8 @@
         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)
 



More information about the Numpy-svn mailing list