[SciPy-User] scipy.test()

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Dec 3 10:16:42 CST 2009


>>> scipy.__version__
'0.8.0.dev6127'
>>> numpy.__version__
'1.5.0.dev7827'

======================================================================
ERROR: test_mpmath.test_expi_complex
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/decorators.py", 
line 146, in skipper_func
     return f(*args, **kwargs)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_mpmath.py", 
line 45, in test_expi_complex
     dataset = np.array(dataset, dtype=np.complex_)
TypeError: a float is required

======================================================================
FAIL: test_lambertw.test_values
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_lambertw.py", 
line 80, in test_values
     FuncData(w, data, (0,1), 2, rtol=1e-10, 
atol=1e-13).check()
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/testutils.py", 
line 187, in check
     assert False, "\n".join(msg)
AssertionError:
Max |adiff|: 2.5797
Max |rdiff|: 3.81511
Bad results for the following points (in output 0):
(-0.44800000000000001+0.40000000000000002j) 
                             0j => 
(-1.2370928928166736-1.6588828572971359j) != 
(-0.11855133765652383+0.66570534313583418j)  (rdiff 
       3.8151122286225245)

----------------------------------------------------------------------
Ran 4235 tests in 128.083s

FAILED (KNOWNFAIL=7, SKIP=20, errors=2, failures=1)
<nose.result.TextTestResult run=4235 errors=2 failures=1>
  


More information about the SciPy-User mailing list