Cython 0.19.2 fails 2 tests with all versions of Python (2.6, 2.7, 3.1, 3.2, 3.3), probably due to new version of NumPy. I use NumPy 1.8.0 rc2.
Results with Python 2.7:
======================================================================
FAIL: test_one_sized (line 29) (relaxed_strides.__test__)
Doctest: relaxed_strides.__test__.test_one_sized (line 29)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for relaxed_strides.__test__.test_one_sized
(line 29)
File
"/tmp/Cython-0.19.2/tests-2.7/memoryview/c/relaxed_strides/relaxed_strides.so",
line unknown line number, in test_one_sized (line 29)
----------------------------------------------------------------------
File
"/tmp/Cython-0.19.2/tests-2.7/memoryview/c/relaxed_strides/relaxed_strides.so",
line ?, in relaxed_strides.__test__.test_one_sized (line 29)
Failed example:
test_one_sized(a)[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest relaxed_strides.__test__.test_one_sized (line 29)[3]>",
line 1, in <module>
test_one_sized(a)[0]
File "relaxed_strides.pyx", line 38, in relaxed_strides.test_one_sized
(relaxed_strides.c:1387)
File "stringsource", line 619, in View.MemoryView.memoryview_cwrapper
(relaxed_strides.c:7145)
File "stringsource", line 327, in View.MemoryView.memoryview.__cinit__
(relaxed_strides.c:3560)
ValueError: ndarray is not C-contiguous
======================================================================
FAIL: test_one_sized (line 29) (relaxed_strides.__test__)
Doctest: relaxed_strides.__test__.test_one_sized (line 29)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/doctest.py", line 2201, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for relaxed_strides.__test__.test_one_sized
(line 29)
File
"/tmp/Cython-0.19.2/tests-2.7/memoryview/cpp/relaxed_strides/relaxed_strides.so",
line unknown line number, in test_one_sized (line 29)
----------------------------------------------------------------------
File
"/tmp/Cython-0.19.2/tests-2.7/memoryview/cpp/relaxed_strides/relaxed_strides.so",
line ?, in relaxed_strides.__test__.test_one_sized (line 29)
Failed example:
test_one_sized(a)[0]
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python2.7/doctest.py", line 1289, in __run
compileflags, 1) in test.globs
File "<doctest relaxed_strides.__test__.test_one_sized (line 29)[3]>",
line 1, in <module>
test_one_sized(a)[0]
File "relaxed_strides.pyx", line 38, in relaxed_strides.test_one_sized
(relaxed_strides.cpp:1387)
File "stringsource", line 619, in View.MemoryView.memoryview_cwrapper
(relaxed_strides.cpp:7145)
File "stringsource", line 327, in View.MemoryView.memoryview.__cinit__
(relaxed_strides.cpp:3560)
ValueError: ndarray is not C-contiguous
----------------------------------------------------------------------
Ran 7903 tests in 3249.768s
FAILED (failures=2)
ALL DONE
--
Arfrever Frehtes Taifersar Arahesis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ cython-devel mailing list [email protected] https://mail.python.org/mailman/listinfo/cython-devel
