[NumPy-Tickets] [NumPy] #1767: f2py assumed shape merge - test failure
NumPy Trac
numpy-tickets@scipy....
Fri Mar 11 05:00:56 CST 2011
#1767: f2py assumed shape merge - test failure
------------------------+---------------------------------------------------
Reporter: rgommers | Owner: pearu
Type: defect | Status: new
Priority: normal | Milestone: 1.6.0
Component: numpy.f2py | Version: devel
Keywords: |
------------------------+---------------------------------------------------
The merge of the branch that closed #1532 and #1750 introduced a test
failure:
{{{
======================================================================
FAIL: test_kind.TestKind.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/nose-0.11.1-py2.6.egg/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/Users/rgommers/Code/numpy/numpy/f2py/tests/test_kind.py", line
27, in test_all
assert selected_int_kind(i)==selectedintkind(i),`i,
selected_int_kind(i), selectedintkind(i)`
AssertionError: (19, 16, -1)
----------------------------------------------------------------------
Ran 3279 tests in 60.489s
}}}
This fails with Python 2.6 on OS X but works with Python 3.2.
Also, some print statements have been left in the code:
{{{
..............This module '_test_ext_module_5403' is auto-generated with
f2py (version:2).
Functions:
res = sum(x)
res = fsum(x)
res = sum_with_use(x)
Fortran 90/95 modules:
precision --- ik,rk.
..This module '_test_ext_module_5405' is auto-generated with f2py
(version:2).
Functions:
res = selectedrealkind(p,r=0)
res = selectedintkind(p)
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1767>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list