[SciPy-dev] Re: Plan for releasing Scipy 0.3.2

Travis Oliphant oliphant at ee.byu.edu
Wed Oct 6 17:56:42 EDT 2004


>>> DeprecationWarning)
>>>  !! No test file 'test_Mplot.py' found for <module 'scipy.xplt.Mplot' from '...-packages/scipy/xplt/Mplot.pyc'>
>>>(lots of "!! No test..." and test output)
>>>.Testing weibull_min
>>>.........
>>>======================================================================
>>>FAIL: check_basic (scipy.stats.morestats.test_morestats.test_shapiro)
>>>----------------------------------------------------------------------
>>>Traceback (most recent call last):
>>> File
>>>"/usr/local/lib/python2.4/site-packages/scipy/stats/tests/test_morestats.py",
>>>line 40, in check_basic
>>>   assert_almost_equal(pw,0.52459925413131714,3)
>>> File "/usr/local/lib/python2.4/site-packages/scipy_test/testing.py", line 606, in a
>>>ssert_almost_equal
>>>   assert round(abs(desired - actual),decimal) == 0, msg
>>>AssertionError: Items are not equal:
>>>DESIRED: 0.52459925413131714
>>>ACTUAL: 1.0
>>>
>>>----------------------------------------------------------------------
>>>Ran 972 tests in 9.784s
>>>
>>>
>>>      
>>>
>>Do you get this error consistently or just once in a while?
>>    
>>
>
>I get it twice for two tries. Is this consistently enough? Also the
>
>/usr/local/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
>
>
>  
>
Thanks for the information.  This looks like a genuine bug.  You should 
not be getting this much of a difference.  Is the problem related to gcc 
3.4.2?  Is anybody using that particular compiler?   The problem is the 
statlib.swilk  function.  Apparently, It is not returning the correct 
value on your system.   This function is in Fortran and so either gcc 
3.4.2 is compiling it differently or the f2py-generated interface is not 
functioning correctly.

Could you manually run the test that is failing and give the output of 
stats.shapiro(x2) using the x2 in the test_morestats.py file near line 40?

Thanks,

-Travis O.







More information about the SciPy-Dev mailing list