On Sat, Dec 11, 2010 at 1:44 PM, Arfrever Frehtes Taifersar Arahesis
<[email protected]> wrote:
> 2010-12-11 12:01:11 Robert Bradshaw napisał(a):
>> Release candidate up at
>> http://cython.org/release/Cython-0.14.rc0.tar.gz . Unless something
>> bad is discovered, this will be the release sometime early next week.
>
> Some tests fail.

:(

> Test failures with Python 2.6 (the same tests fail with Python 2.7):

What OS and NumPy version?

> ======================================================================
> FAIL: Doctest: numpy_test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/lib64/python2.6/doctest.py", line 2163, in runTest
>    raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for numpy_test
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 25, in numpy_test
>
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 114, in numpy_test
> Failed example:
>    test_c_contig(f_arr)
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: ndarray is not C contiguous
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[29]>", line 1, in <module>
>        test_c_contig(f_arr)
>      File "numpy_test.pyx", line 265, in numpy_test.test_c_contig 
> (numpy_test.c:2619)
>    ValueError: ndarray is not C-contiguous
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 122, in numpy_test
> Failed example:
>    test_c_contig(c_arr[::2,::2])
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: ndarray is not C contiguous
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[31]>", line 1, in <module>
>        test_c_contig(c_arr[::2,::2])
>      File "numpy_test.pyx", line 265, in numpy_test.test_c_contig 
> (numpy_test.c:2619)
>    ValueError: ndarray is not C-contiguous
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 161, in numpy_test
> Failed example:
>    test_dtype('%si' % other_endian, inc1_int)
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: Non-native byte order not supported
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[60]>", line 1, in <module>
>        test_dtype('%si' % other_endian, inc1_int)
>      File "numpy_test.pyx", line 339, in numpy_test.test_dtype 
> (numpy_test.c:5311)
>      File "numpy_test.pyx", line 280, in numpy_test.inc1_int 
> (numpy_test.c:3129)
>    ValueError: Big-endian buffer not supported on little-endian compiler
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 168, in numpy_test
> Failed example:
>    test_recordarray()
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[61]>", line 1, in <module>
>        test_recordarray()
>      File "numpy_test.pyx", line 347, in numpy_test.test_recordarray 
> (numpy_test.c:5474)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 170, in numpy_test
> Failed example:
>    print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            ('a', 
> np.dtype('i,i')),            ('b', np.dtype('i,i'))        ]))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[62]>", line 1, in <module>
>        print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            
> ('a', np.dtype('i,i')),            ('b', np.dtype('i,i'))        ]))))
>      File "numpy_test.pyx", line 374, in numpy_test.test_nested_dtypes 
> (numpy_test.c:5792)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 174, in numpy_test
> Failed example:
>    print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            ('a', 
> np.dtype('i,f')),            ('b', np.dtype('i,i'))        ]))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch, expected 'int' but got 'float' in 
> 'DoubleInt.y'
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[63]>", line 1, in <module>
>        print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            
> ('a', np.dtype('i,f')),            ('b', np.dtype('i,i'))        ]))))
>      File "numpy_test.pyx", line 374, in numpy_test.test_nested_dtypes 
> (numpy_test.c:5792)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 179, in numpy_test
> Failed example:
>    print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[64]>", line 1, in <module>
>        print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
>      File "numpy_test.pyx", line 403, in numpy_test.test_packed_align 
> (numpy_test.c:6296)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 182, in numpy_test
> Failed example:
>    print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[65]>", line 1, in <module>
>        print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
>      File "numpy_test.pyx", line 408, in numpy_test.test_unpacked_align 
> (numpy_test.c:6427)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 186, in numpy_test
> Failed example:
>    print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', align=True))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch; next field is at offset 4 but 1 expected
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[66]>", line 1, in <module>
>        print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
>      File "numpy_test.pyx", line 403, in numpy_test.test_packed_align 
> (numpy_test.c:6296)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 191, in numpy_test
> Failed example:
>    print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch; next field is at offset 1 but 4 expected
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[67]>", line 1, in <module>
>        print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
>      File "numpy_test.pyx", line 408, in numpy_test.test_unpacked_align 
> (numpy_test.c:6427)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/c/numpy_test.so",
>  line 209, in numpy_test
> Failed example:
>    test_point_record()
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[71]>", line 1, in <module>
>        test_point_record()
>      File "numpy_test.pyx", line 429, in numpy_test.test_point_record 
> (numpy_test.c:6871)
>    ValueError: Does not understand character buffer dtype format string (':')
>
>
> ======================================================================
> FAIL: Doctest: numpy_test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/lib64/python2.6/doctest.py", line 2163, in runTest
>    raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for numpy_test
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 11, in numpy_test
>
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 100, in numpy_test
> Failed example:
>    test_c_contig(f_arr)
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: ndarray is not C contiguous
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[29]>", line 1, in <module>
>        test_c_contig(f_arr)
>      File "numpy_test.pyx", line 265, in numpy_test.test_c_contig 
> (numpy_test.cpp:2619)
>    ValueError: ndarray is not C-contiguous
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 108, in numpy_test
> Failed example:
>    test_c_contig(c_arr[::2,::2])
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: ndarray is not C contiguous
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[31]>", line 1, in <module>
>        test_c_contig(c_arr[::2,::2])
>      File "numpy_test.pyx", line 265, in numpy_test.test_c_contig 
> (numpy_test.cpp:2619)
>    ValueError: ndarray is not C-contiguous
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 147, in numpy_test
> Failed example:
>    test_dtype('%si' % other_endian, inc1_int)
> Expected:
>    Traceback (most recent call last):
>       ...
>    ValueError: Non-native byte order not supported
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[60]>", line 1, in <module>
>        test_dtype('%si' % other_endian, inc1_int)
>      File "numpy_test.pyx", line 339, in numpy_test.test_dtype 
> (numpy_test.cpp:5311)
>      File "numpy_test.pyx", line 280, in numpy_test.inc1_int 
> (numpy_test.cpp:3129)
>    ValueError: Big-endian buffer not supported on little-endian compiler
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 154, in numpy_test
> Failed example:
>    test_recordarray()
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[61]>", line 1, in <module>
>        test_recordarray()
>      File "numpy_test.pyx", line 347, in numpy_test.test_recordarray 
> (numpy_test.cpp:5474)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 156, in numpy_test
> Failed example:
>    print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            ('a', 
> np.dtype('i,i')),            ('b', np.dtype('i,i'))        ]))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[62]>", line 1, in <module>
>        print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            
> ('a', np.dtype('i,i')),            ('b', np.dtype('i,i'))        ]))))
>      File "numpy_test.pyx", line 374, in numpy_test.test_nested_dtypes 
> (numpy_test.cpp:5792)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 160, in numpy_test
> Failed example:
>    print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            ('a', 
> np.dtype('i,f')),            ('b', np.dtype('i,i'))        ]))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch, expected 'int' but got 'float' in 
> 'DoubleInt.y'
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[63]>", line 1, in <module>
>        print(test_nested_dtypes(np.zeros((3,), dtype=np.dtype([            
> ('a', np.dtype('i,f')),            ('b', np.dtype('i,i'))        ]))))
>      File "numpy_test.pyx", line 374, in numpy_test.test_nested_dtypes 
> (numpy_test.cpp:5792)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 165, in numpy_test
> Failed example:
>    print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[64]>", line 1, in <module>
>        print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
>      File "numpy_test.pyx", line 403, in numpy_test.test_packed_align 
> (numpy_test.cpp:6296)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 168, in numpy_test
> Failed example:
>    print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[65]>", line 1, in <module>
>        print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
>      File "numpy_test.pyx", line 408, in numpy_test.test_unpacked_align 
> (numpy_test.cpp:6427)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 172, in numpy_test
> Failed example:
>    print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', align=True))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch; next field is at offset 4 but 1 expected
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[66]>", line 1, in <module>
>        print(test_packed_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=True))))
>      File "numpy_test.pyx", line 403, in numpy_test.test_packed_align 
> (numpy_test.cpp:6296)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 177, in numpy_test
> Failed example:
>    print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
> Expected:
>    Traceback (most recent call last):
>        ...
>    ValueError: Buffer dtype mismatch; next field is at offset 1 but 4 expected
> Got:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[67]>", line 1, in <module>
>        print(test_unpacked_align(np.zeros((1,), dtype=np.dtype('b,i', 
> align=False))))
>      File "numpy_test.pyx", line 408, in numpy_test.test_unpacked_align 
> (numpy_test.cpp:6427)
>    ValueError: Does not understand character buffer dtype format string (':')
> ----------------------------------------------------------------------
> File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/run/cpp/numpy_test.so",
>  line 195, in numpy_test
> Failed example:
>    test_point_record()
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
>        compileflags, 1) in test.globs
>      File "<doctest numpy_test[71]>", line 1, in <module>
>        test_point_record()
>      File "numpy_test.pyx", line 429, in numpy_test.test_point_record 
> (numpy_test.cpp:6871)
>    ValueError: Does not understand character buffer dtype format string (':')
>
>
> ----------------------------------------------------------------------
> Ran 4812 tests in 1194.085s
>
> FAILED (failures=2)
>
>
>
> Test failures with Python 3.1 (the same tests fail with Python 3.2):
>
> ======================================================================
> ERROR: test_globals (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 32, in test_globals
>    self.assertEquals(inline("return global_value + 1", **test_kwds), 
> global_value + 1)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_locals (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 29, in test_locals
>    self.assertEquals(inline("return a+b", **test_kwds), 3)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_numpy (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 41, in test_numpy
>    self.assertEquals(inline("return a[0,0]", a=a, **test_kwds), 10.0)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_simple (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 18, in test_simple
>    self.assertEquals(inline("return 1+2", **test_kwds), 3)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: test_types (Cython.Build.Tests.TestInline.TestStripLiterals)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Tests/TestInline.py",
>  line 24, in test_types
>    """, a=1.0, b=[], **test_kwds), ('double', 'list object'))
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Shadow.py",
>  line 16, in inline
>    return cython_inline(f, *args, **kwds)
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 101, in cython_inline
>    for symbol in unbound_symbols(code):
>  File 
> "/var/tmp/portage/dev-python/cython-0.14_rc0/work/Cython-0.14.rc0/BUILD/Cy3/Cython/Build/Inline.py",
>  line 35, in unbound_symbols
>    code = code.decode('ascii')
> AttributeError: 'str' object has no attribute 'decode'
>
> ======================================================================
> ERROR: compiling (c) and running numpy_bufacc_T155
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != "10:9: 'ndarray' is not a type identifier"
>
> ======================================================================
> ERROR: compiling (cpp) and running numpy_bufacc_T155
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != "10:9: 'ndarray' is not a type identifier"
>
> ======================================================================
> ERROR: compiling (c) and running numpy_cimport
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != '173:49: "mode" is not a buffer option'
>
> ======================================================================
> ERROR: compiling (cpp) and running numpy_cimport
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != '173:49: "mode" is not a buffer option'
>
> ======================================================================
> ERROR: compiling (c) and running numpy_test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != '173:49: "mode" is not a buffer option'
>
> ======================================================================
> ERROR: compiling (cpp) and running numpy_test
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "runtests.py", line 464, in run
>    self.runCompileTest()
>  File "runtests.py", line 299, in runCompileTest
>    self.test_directory, self.expect_errors, self.annotate)
>  File "runtests.py", line 441, in compile
>    self.assertEquals(None, unexpected_error)
> AssertionError: None != '173:49: "mode" is not a buffer option'
>
> ----------------------------------------------------------------------
> Ran 4773 tests in 1128.064s
>
> FAILED (errors=11)
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 10:9: 'ndarray' is not a type identifier
> 173:49: "mode" is not a buffer option
>
>
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 10:9: 'ndarray' is not a type identifier
> 173:49: "mode" is not a buffer option
>
>
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 173:49: "mode" is not a buffer option
>
>
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 173:49: "mode" is not a buffer option
>
>
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 173:49: "mode" is not a buffer option
> 253:18: 'ndarray' is not a type identifier
> 258:22: 'ndarray' is not a type identifier
> 265:18: 'ndarray' is not a type identifier
> 270:18: 'ndarray' is not a type identifier
> 276:14: 'ndarray' is not a type identifier
> 277:15: 'ndarray' is not a type identifier
> 278:15: 'ndarray' is not a type identifier
> 279:16: 'ndarray' is not a type identifier
> 280:13: 'ndarray' is not a type identifier
> 281:14: 'ndarray' is not a type identifier
> 282:14: 'ndarray' is not a type identifier
> 283:15: 'ndarray' is not a type identifier
> 284:18: 'ndarray' is not a type identifier
> 285:19: 'ndarray' is not a type identifier
> 287:15: 'ndarray' is not a type identifier
> 288:16: 'ndarray' is not a type identifier
> 289:20: 'ndarray' is not a type identifier
> 291:16: 'ndarray' is not a type identifier
> 292:17: 'ndarray' is not a type identifier
> 293:21: 'ndarray' is not a type identifier
> 295:23: 'ndarray' is not a type identifier
> 299:24: 'ndarray' is not a type identifier
> 303:28: 'ndarray' is not a type identifier
> 309:16: 'ndarray' is not a type identifier
> 315:15: 'ndarray' is not a type identifier
> 316:16: 'ndarray' is not a type identifier
> 317:17: 'ndarray' is not a type identifier
> 318:18: 'ndarray' is not a type identifier
> 319:22: 'ndarray' is not a type identifier
> 320:16: 'ndarray' is not a type identifier
> 321:17: 'ndarray' is not a type identifier
> 324:17: 'ndarray' is not a type identifier
> 325:19: 'ndarray' is not a type identifier
> 387:9: 'ndarray' is not a type identifier
> 393:9: 'ndarray' is not a type identifier
> 403:22: 'ndarray' is not a type identifier
> 408:24: 'ndarray' is not a type identifier
> 414:9: 'complex64_t' is not a type identifier
> 415:9: 'complex128_t' is not a type identifier
> 424:4: 'float64_t' is not a type identifier
> 427:9: 'ndarray' is not a type identifier
>
>
>
> === Expected errors: ===
>
>
>
> === Got errors: ===
> 173:49: "mode" is not a buffer option
> 253:18: 'ndarray' is not a type identifier
> 258:22: 'ndarray' is not a type identifier
> 265:18: 'ndarray' is not a type identifier
> 270:18: 'ndarray' is not a type identifier
> 276:14: 'ndarray' is not a type identifier
> 277:15: 'ndarray' is not a type identifier
> 278:15: 'ndarray' is not a type identifier
> 279:16: 'ndarray' is not a type identifier
> 280:13: 'ndarray' is not a type identifier
> 281:14: 'ndarray' is not a type identifier
> 282:14: 'ndarray' is not a type identifier
> 283:15: 'ndarray' is not a type identifier
> 284:18: 'ndarray' is not a type identifier
> 285:19: 'ndarray' is not a type identifier
> 287:15: 'ndarray' is not a type identifier
> 288:16: 'ndarray' is not a type identifier
> 289:20: 'ndarray' is not a type identifier
> 291:16: 'ndarray' is not a type identifier
> 292:17: 'ndarray' is not a type identifier
> 293:21: 'ndarray' is not a type identifier
> 295:23: 'ndarray' is not a type identifier
> 299:24: 'ndarray' is not a type identifier
> 303:28: 'ndarray' is not a type identifier
> 309:16: 'ndarray' is not a type identifier
> 315:15: 'ndarray' is not a type identifier
> 316:16: 'ndarray' is not a type identifier
> 317:17: 'ndarray' is not a type identifier
> 318:18: 'ndarray' is not a type identifier
> 319:22: 'ndarray' is not a type identifier
> 320:16: 'ndarray' is not a type identifier
> 321:17: 'ndarray' is not a type identifier
> 324:17: 'ndarray' is not a type identifier
> 325:19: 'ndarray' is not a type identifier
> 387:9: 'ndarray' is not a type identifier
> 393:9: 'ndarray' is not a type identifier
> 403:22: 'ndarray' is not a type identifier
> 408:24: 'ndarray' is not a type identifier
> 414:9: 'complex64_t' is not a type identifier
> 415:9: 'complex128_t' is not a type identifier
> 424:4: 'float64_t' is not a type identifier
> 427:9: 'ndarray' is not a type identifier
>
> --
> Arfrever Frehtes Taifersar Arahesis
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to