[SciPy-User] ANN: SciPy 0.11.0 release candidate 1

Ralf Gommers ralf.gommers@googlemail....
Sat Jul 21 09:43:15 CDT 2012


On Fri, Jul 20, 2012 at 9:57 PM, John Hassler <hasslerjc@comcast.net> wrote:

>  I commented out the entire function 'def test_qz_double_sort(self):' in
> 'test_decomp.py.  It ran to the end with one error, one failure.
> john
>
> ======================================================================
> ERROR: Failure: AttributeError ('module' object has no attribute
> 'FileType')
>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "C:\Python32\lib\site-packages\nose-1.0.0-py3.2.egg\nose\failure.py", line
> 37, in runTest
>     raise self.exc_class(self.exc_val).with_traceback(self.tb)
>   File
> "C:\Python32\lib\site-packages\nose-1.0.0-py3.2.egg\nose\loader.py", line
> 390, in loadTestsFromName
>     addr.filename, addr.module)
>   File
> "C:\Python32\lib\site-packages\nose-1.0.0-py3.2.egg\nose\importer.py", line
> 39, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File
> "C:\Python32\lib\site-packages\nose-1.0.0-py3.2.egg\nose\importer.py", line
> 86, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "C:\Python32\lib\site-packages\scipy\weave\__init__.py", line 22,
> in <module>
>     from .blitz_tools import blitz
>   File "C:\Python32\lib\site-packages\scipy\weave\blitz_tools.py", line 6,
> in <module>
>     from . import converters
>   File "C:\Python32\lib\site-packages\scipy\weave\converters.py", line 19,
> in <module>
>     c_spec.file_converter(),
>   File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 74, in
> __init__
>     self.init_info()
>   File "C:\Python32\lib\site-packages\scipy\weave\c_spec.py", line 264, in
> init_info
>     self.matching_types = [types.FileType]
> AttributeError: 'module' object has no attribute 'FileType'
>
>
This is due to weave not being python 3.x compatible. The next RC will
raise a clearer error for this.


> ======================================================================
> FAIL: test_definition (test_real_transforms.TestDSTIDouble)
>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "C:\Python32\lib\site-packages\scipy\fftpack\tests\test_real_transforms.py",
> line 213, in test_definition
>     err_msg="Size %d failed" % i)
>   File "C:\Python32\lib\site-packages\numpy\testing\utils.py", line 800,
> in assert_array_almost_equal
>     header=('Arrays are not almost equal to %d decimals' % decimal))
>   File "C:\Python32\lib\site-packages\numpy\testing\utils.py", line 636,
> in assert_array_compare
>     raise AssertionError(msg)
> AssertionError:
> Arrays are not almost equal to 15 decimals
> Size 256 failed
> (mismatch 3.515625%)
>  x: array([  1.00000000e+00,  -5.03902743e-01,   3.33300126e-01,
>         -2.51913719e-01,   1.99940224e-01,  -1.67900640e-01,
>          1.42771743e-01,  -1.25881543e-01,   1.11000399e-01,...
>  y: array([  1.00000000e+00,  -5.03902743e-01,   3.33300126e-01,
>         -2.51913719e-01,   1.99940224e-01,  -1.67900640e-01,
>          1.42771743e-01,  -1.25881543e-01,   1.11000399e-01,...
>

This looks like the test precision being a little too high. Could you
adjust it to decimal=14 or lower, and tell us when the test passes on your
machine?

Thanks,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120721/0b7b9370/attachment.html 


More information about the SciPy-User mailing list