[SciPy-Dev] Numpy-dev and scipy-0.10.1 test errors

Ralf Gommers ralf.gommers at googlemail.com
Sun Feb 12 15:19:31 EST 2012


On Sun, Feb 12, 2012 at 9:10 PM, Christoph Gohlke <cgohlke at uci.edu> wrote:

> Hello,
>
> while testing msvc9/MKL builds of scipy-0.10.1rc1 and numpy-dev on
> win-amd64-py2.7 I got 20 numpy test errors and 2 scipy test errors. The
> full tests results are attached. I have not looked at them in detail. There
> are no test errors or failures with numpy 1.6.1 and scipy-0.10.1rc1.


Most of the errors are due to https://github.com/numpy/numpy/pull/201,
which should be fixed in numpy master. I'm having a look at that.

The stats.distributions warnings do look like there's a problem with MSVC
that's not there when compiling with MinGW. But that must have been there
for 0.10.0 too, so I don't think we should hold up the 0.10.1 release for
that.

These do like a serious issue, it's the same one that caused MinGW 3.4.5 to
stop working:

======================================================================
ERROR: test_datetime_array_str (test_datetime.TestDateTime)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"X:\Python27-x64\lib\site-packages\numpy\core\tests\test_datetime.py", li
ne 514, in test_datetime_array_str
    formatter={'datetime': lambda x :
  File "X:\Python27-x64\lib\site-packages\numpy\core\arrayprint.py", line
459, i
n array2string
    separator, prefix, formatter=formatter)
  File "X:\Python27-x64\lib\site-packages\numpy\core\arrayprint.py", line
259, i
n _array2string
    'int' : IntegerFormat(data),
  File "X:\Python27-x64\lib\site-packages\numpy\core\arrayprint.py", line
658, i
n __init__
    len(str(minimum.reduce(data, skipna=True))))
OSError: Failed to use 'localtime_s' to convert to a local time

======================================================================
ERROR: test_combinations (test_multiarray.TestArgmax)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"X:\Python27-x64\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 979, in test_combinations
    assert_equal(np.argmax(arr), pos, err_msg="%r"%arr)
OSError: Failed to use 'localtime_s' to convert to a local time

======================================================================
ERROR: test_combinations (test_multiarray.TestArgmin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"X:\Python27-x64\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1047, in test_combinations
    assert_equal(np.argmin(arr), pos, err_msg="%r"%arr)
OSError: Failed to use 'localtime_s' to convert to a local time


Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20120212/da722e84/attachment.html>


More information about the SciPy-Dev mailing list