[SciPy-User] scipy.test() failures

Ralf Gommers ralf.gommers at googlemail.com
Thu Jun 14 02:34:07 EDT 2012


On Tue, Jun 12, 2012 at 9:11 PM, Nils Wagner <nils106 at googlemail.com> wrote:

> NumPy version 1.7.0.dev-cf72f82
> SciPy version 0.11.0.dev-5655bc9
> Python version 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC]
> openSUSE 12.1 x86_64 GNU/Linux
>
> ERROR: Failure: DeprecationWarning (
> The scipy.maxentropy module is deprecated in scipy 0.10, and scheduled to
> be
> removed in 0.11.
>

You should clean your install dir (rm -rf site-packages/scipy), this is
from a file that doesn't exist in master anymore.


>
> If you are using some of the functionality in this module and are of the
> opinion that it should be kept or moved somewhere - or you are even
> interested
> to maintain/improve this whole module - please ask on the scipy-dev mailing
> list.
>
> The logsumexp function has already been moved to scipy.misc.)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/nose/loader.py", line 390, in
> loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/lib/python2.7/site-packages/nose/importer.py", line 39, in
> importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/lib/python2.7/site-packages/nose/importer.py", line 86, in
> importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/home/nwagner/local/lib64/python2.7/site-packages/scipy/maxentropy/__init__.py",
> line 19, in <module>
>     DeprecationWarning)
> DeprecationWarning:
> The scipy.maxentropy module is deprecated in scipy 0.10, and scheduled to
> be
> removed in 0.11.
>
> If you are using some of the functionality in this module and are of the
> opinion that it should be kept or moved somewhere - or you are even
> interested
> to maintain/improve this whole module - please ask on the scipy-dev mailing
> list.
>
> The logsumexp function has already been moved to scipy.misc.
>
> ======================================================================
> FAIL: test_improvement (test_quadpack.TestCtypesQuad)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/home/nwagner/local/lib64/python2.7/site-packages/numpy/testing/decorators.py",
> line 146, in skipper_func
>     return f(*args, **kwargs)
>   File
> "/home/nwagner/local/lib64/python2.7/site-packages/scipy/integrate/tests/test_quadpack.py",
> line 53, in test_improvement
>     assert_(fast < 0.5*slow, (fast, slow))
>   File
> "/home/nwagner/local/lib64/python2.7/site-packages/numpy/testing/utils.py",
> line 34, in assert_
>     raise AssertionError(msg)
> AssertionError: (0.004730939865112305, 0.009073019027709961)
>

This looks like a real issue, this test was recently added. Looks like it's
not using ctypes.

Travis, any idea why this can happen?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120614/c3ca9165/attachment.html>


More information about the SciPy-User mailing list