It looks like all of these have to do with char being unsigned in your  
environment. (Whether char is signed is implementation dependent...)  
We should fix/disable the tests on platforms where this is the case.

On Feb 2, 2010, at 4:52 AM, Neal Becker wrote:

> Build log is here:
> http://koji.fedoraproject.org/koji/getfile?taskID=1958725&name=build.log
>
> Errors start with:
>
> ERROR: Doctest: c_int_types_T255
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
>    raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for c_int_types_T255
>  File
> "/builddir/build/BUILD/Cython-0.12.1/BUILD/run/c/ 
> c_int_types_T255.so", line
> 92, in c_int_types_T255
> ----------------------------------------------------------------------
> File "/builddir/build/BUILD/Cython-0.12.1/BUILD/run/c/ 
> c_int_types_T255.so",
> line 98, in c_int_types_T255
> Failed example:
>    test_char(CHAR_MIN) == CHAR_MIN
> Exception raised:
>    Traceback (most recent call last):
>      File "/usr/lib/python2.6/doctest.py", line 1241, in __run
>        compileflags, 1) in test.globs
>      File "<doctest c_int_types_T255[1]>", line 1, in <module>
>        test_char(CHAR_MIN) == CHAR_MIN
>      File "c_int_types_T255.pyx", line 8, in  
> c_int_types_T255.test_char
> (c_int_types_T255.c:644)
>    OverflowError: can't convert negative value to char
>
> _______________________________________________
> 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