[SciPy-dev] test failures with current CVS

Berthold Hoellmann bhoel at web.de
Tue Sep 16 14:58:49 CDT 2003


Hello,

Building and installing the current CVS version of SciPy, 

import scipy
scipy.test()

gives 4 errors on SuSE 8.2 with Python 2.3 and gcc3.3:

...
======================================================================
ERROR: check_cdf (test_distributions.test_foldnorm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/stats.py", line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 586, in __call__
    return self.rvs(*args, **kwds)
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 338, in rvs
    vals = reshape(self._rvs(*args),size)
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 1100, in _rvs
    return abs(norm(loc=c,size=self._size))
TypeError: __call__() got an unexpected keyword argument 'loc'

======================================================================
ERROR: check_cdf (test_distributions.test_nct)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 5, in check_cdf
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/stats.py", line 1521, in kstest
    vals = sb.sort(rvs(*args,**kwds))
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 586, in __call__
    return self.rvs(*args, **kwds)
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 338, in rvs
    vals = reshape(self._rvs(*args),size)
  File "/usr/local/lib/python2.3/site-packages/scipy/stats/distributions.py", line 1704, in _rvs
    return norm(loc=nc,size=self._size)*sqrt(df) / sqrt(chi2(df,size=self._size))
TypeError: __call__() got an unexpected keyword argument 'loc'

======================================================================
ERROR: check_chebyc (test_basic.test_chebyc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/scipy/special/tests/test_basic.py", line 214, in check_chebyc
    chebc = chebyc(1)(.2)
  File "/usr/local/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 398, in chebyc
    p = p * 2.0/p(2)
  File "/usr/local/lib/python2.3/site-packages/scipy_base/polynomial.py", line 445, in __getattr__
    raise KeyError
KeyError

======================================================================
ERROR: check_chebys (test_basic.test_chebys)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/scipy/special/tests/test_basic.py", line 220, in check_chebys
    chebs = chebys(1)(.2)
  File "/usr/local/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 429, in chebys
    p = p * (n+1.0)/p(2)
  File "/usr/local/lib/python2.3/site-packages/scipy_base/polynomial.py", line 445, in __getattr__
    raise KeyError
KeyError

----------------------------------------------------------------------
Ran 739 tests in 3.045s

FAILED (errors=4)
<unittest.TextTestRunner object at 0x4075bf8c>
>>> 

Greetings
Berthold
-- 
bhoel at web.de / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.




More information about the Scipy-dev mailing list