[Python-apps-team] Bug#651996: cython: FTBFS: failed tests
Jakub Wilk
jwilk at debian.org
Tue Dec 13 22:49:41 UTC 2011
Source: cython
Version: 0.15.1-1
Severity: serious
Justification: fails to build from source
cython FTBFS:
| ======================================================================
| FAIL: test (line 1) (dict_getitem.__test__)
| Doctest: dict_getitem.__test__.test (line 1)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
| raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for dict_getitem.__test__.test (line 1)
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/c/dict_getitem.so", line unknown line number, in test (line 1)
|
| ----------------------------------------------------------------------
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/c/dict_getitem.so", line ?, in dict_getitem.__test__.test (line 1)
| Failed example:
| test(None, 1) # doctest: +ELLIPSIS
| Expected:
| Traceback (most recent call last):
| TypeError: ...subscriptable...
| Got:
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 1254, in __run
| compileflags, 1) in test.globs
| File "<doctest dict_getitem.__test__.test (line 1)[6]>", line 1, in <module>
| test(None, 1) # doctest: +ELLIPSIS
| File "dict_getitem.pyx", line 26, in dict_getitem.test (dict_getitem.c:561)
| TypeError: 'NoneType' object has no attribute '__getitem__'
|
|
| ======================================================================
| FAIL: test (line 1) (dict_getitem.__test__)
| Doctest: dict_getitem.__test__.test (line 1)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
| raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for dict_getitem.__test__.test (line 1)
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/cpp/dict_getitem.so", line unknown line number, in test (line 1)
|
| ----------------------------------------------------------------------
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/cpp/dict_getitem.so", line ?, in dict_getitem.__test__.test (line 1)
| Failed example:
| test(None, 1) # doctest: +ELLIPSIS
| Expected:
| Traceback (most recent call last):
| TypeError: ...subscriptable...
| Got:
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 1254, in __run
| compileflags, 1) in test.globs
| File "<doctest dict_getitem.__test__.test (line 1)[6]>", line 1, in <module>
| test(None, 1) # doctest: +ELLIPSIS
| File "dict_getitem.pyx", line 26, in dict_getitem.test (dict_getitem.cpp:561)
| TypeError: 'NoneType' object has no attribute '__getitem__'
|
|
| ======================================================================
| FAIL: index ()
| Doctest: index
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
| raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for index
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/c/index.so", line 89, in index
|
| ----------------------------------------------------------------------
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/c/index.so", line 91, in index
| Failed example:
| index_object(100, 100)
| Expected:
| Traceback (most recent call last):
| ...
| TypeError: 'int' object is not subscriptable
| Got:
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 1254, in __run
| compileflags, 1) in test.globs
| File "<doctest index[0]>", line 1, in <module>
| index_object(100, 100)
| File "index.pyx", line 65, in index.index_object (index.c:915)
| TypeError: 'int' object has no attribute '__getitem__'
|
|
| ======================================================================
| FAIL: index ()
| Doctest: index
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
| raise self.failureException(self.format_failure(new.getvalue()))
| AssertionError: Failed doctest test for index
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/cpp/index.so", line 93, in index
|
| ----------------------------------------------------------------------
| File "/build/cython-IuQkTK/cython-0.15.1/build/work-dir/run/cpp/index.so", line 95, in index
| Failed example:
| index_object(100, 100)
| Expected:
| Traceback (most recent call last):
| ...
| TypeError: 'int' object is not subscriptable
| Got:
| Traceback (most recent call last):
| File "/usr/lib/python2.7/doctest.py", line 1254, in __run
| compileflags, 1) in test.globs
| File "<doctest index[0]>", line 1, in <module>
| index_object(100, 100)
| File "index.pyx", line 65, in index.index_object (index.cpp:915)
| TypeError: 'int' object has no attribute '__getitem__'
|
|
| ----------------------------------------------------------------------
| Ran 5618 tests in 1616.171s
|
| FAILED (failures=4)
| ALL DONE
| make: *** [install/cython] Error 1
--
Jakub Wilk
More information about the Python-apps-team
mailing list