[Cython] Cython 0.16 Beta 0
Arfrever Frehtes Taifersar Arahesis
arfrever at gentoo.org
Mon Mar 5 05:41:51 CET 2012
All tests pass with Python 2.6 (2.6.7 release).
All tests pass with Python 2.7 (snapshot of 2.7 branch, revision 52ecec12c0ed).
10 failures with Python 3.1 (3.1.4 release).
14 failures with Python 3.2 (snapshot of 3.2 branch, revision 4966907d3661).
Failures with Python 3.2:
======================================================================
FAIL: test_copy_to (memoryviewattrs.__test__)
Doctest: memoryviewattrs.__test__.test_copy_to
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for memoryviewattrs.__test__.test_copy_to
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/memoryviewattrs.cpython-32.so", line unknown line number, in test_copy_to
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/memoryviewattrs.cpython-32.so", line ?, in memoryviewattrs.__test__.test_copy_to
Failed example:
test_copy_to()
Expected:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
Got:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
======================================================================
FAIL: test_copy_to (memoryviewattrs.__test__)
Doctest: memoryviewattrs.__test__.test_copy_to
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for memoryviewattrs.__test__.test_copy_to
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/memoryviewattrs.cpython-32.so", line unknown line number, in test_copy_to
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/memoryviewattrs.cpython-32.so", line ?, in memoryviewattrs.__test__.test_copy_to
Failed example:
test_copy_to()
Expected:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
Got:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
======================================================================
FAIL: test_coerce_to_numpy (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_coerce_to_numpy
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_coerce_to_numpy
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line unknown line number, in test_coerce_to_numpy
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_coerce_to_numpy
Failed example:
test_coerce_to_numpy()
Expected:
(97, 98, 600L, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...
Got:
(97, 98, 600, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...
======================================================================
FAIL: test_memslice_structarray (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_memslice_structarray
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_memslice_structarray
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line unknown line number, in test_memslice_structarray
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_memslice_structarray
Failed example:
test_memslice_structarray([(L, map(ord, s)) for L, s in data], dtype)
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_memslice_structarray[2]>", line 1, in <module>
test_memslice_structarray([(L, map(ord, s)) for L, s in data], dtype)
File "numpy_memoryview.pyx", line 464, in numpy_memoryview.test_memslice_structarray (numpy_memoryview.c:15496)
TypeError: int() argument must be a string or a number, not 'map'
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_memslice_structarray
Failed example:
test_memslice_structarray(data, dtype)
Expected:
0
1
2
3
spam
4
5
6
7
ham
8
9
10
11
eggs
Got:
0
1
2
3
b'spam'
4
5
6
7
b'ham'
8
9
10
11
b'eggs'
======================================================================
FAIL: test_string_invalid_dims (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_string_invalid_dims
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_string_invalid_dims
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line unknown line number, in test_string_invalid_dims
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_string_invalid_dims
Failed example:
stringstructtest(np.array(data, dtype=dtype))
Expected:
Traceback (most recent call last):
...
ValueError: Expected 2 dimensions, got 1
Got:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_string_invalid_dims[2]>", line 1, in <module>
stringstructtest(np.array(data, dtype=dtype))
TypeError: expected an object with a buffer interface
======================================================================
FAIL: test_struct_attributes (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_struct_attributes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_struct_attributes
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line unknown line number, in test_struct_attributes
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_struct_attributes
Failed example:
test_struct_attributes()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_struct_attributes[0]>", line 1, in <module>
test_struct_attributes()
File "numpy_memoryview.pyx", line 554, in numpy_memoryview.test_struct_attributes (numpy_memoryview.c:15960)
IndexError: invalid index
======================================================================
FAIL: test_coerce_to_numpy (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_coerce_to_numpy
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_coerce_to_numpy
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line unknown line number, in test_coerce_to_numpy
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_coerce_to_numpy
Failed example:
test_coerce_to_numpy()
Expected:
(97, 98, 600L, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...
Got:
(97, 98, 600, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...
======================================================================
FAIL: test_memslice_structarray (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_memslice_structarray
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_memslice_structarray
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line unknown line number, in test_memslice_structarray
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_memslice_structarray
Failed example:
test_memslice_structarray([(L, map(ord, s)) for L, s in data], dtype)
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_memslice_structarray[2]>", line 1, in <module>
test_memslice_structarray([(L, map(ord, s)) for L, s in data], dtype)
File "numpy_memoryview.pyx", line 464, in numpy_memoryview.test_memslice_structarray (numpy_memoryview.cpp:15496)
TypeError: int() argument must be a string or a number, not 'map'
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_memslice_structarray
Failed example:
test_memslice_structarray(data, dtype)
Expected:
0
1
2
3
spam
4
5
6
7
ham
8
9
10
11
eggs
Got:
0
1
2
3
b'spam'
4
5
6
7
b'ham'
8
9
10
11
b'eggs'
======================================================================
FAIL: test_string_invalid_dims (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_string_invalid_dims
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_string_invalid_dims
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line unknown line number, in test_string_invalid_dims
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_string_invalid_dims
Failed example:
stringstructtest(np.array(data, dtype=dtype))
Expected:
Traceback (most recent call last):
...
ValueError: Expected 2 dimensions, got 1
Got:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_string_invalid_dims[2]>", line 1, in <module>
stringstructtest(np.array(data, dtype=dtype))
TypeError: expected an object with a buffer interface
======================================================================
FAIL: test_struct_attributes (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_struct_attributes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for numpy_memoryview.__test__.test_struct_attributes
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line unknown line number, in test_struct_attributes
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/numpy_memoryview.cpython-32.so", line ?, in numpy_memoryview.__test__.test_struct_attributes
Failed example:
test_struct_attributes()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest numpy_memoryview.__test__.test_struct_attributes[0]>", line 1, in <module>
test_struct_attributes()
File "numpy_memoryview.pyx", line 554, in numpy_memoryview.test_struct_attributes (numpy_memoryview.cpp:15960)
IndexError: invalid index
======================================================================
FAIL: NestedWith (withstat)
Doctest: withstat.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat.NestedWith
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/withstat.cpython-32.so", line unknown line number, in NestedWith
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/withstat.cpython-32.so", line ?, in withstat.NestedWith
Failed example:
NestedWith().runTest()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest withstat.NestedWith[0]>", line 1, in <module>
NestedWith().runTest()
File "withstat.pyx", line 183, in withstat.NestedWith.runTest (withstat.c:5544)
File "withstat.pyx", line 222, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:8071)
File "withstat.pyx", line 223, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:7959)
File "withstat.pyx", line 224, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:7808)
File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
DeprecationWarning, 2)
File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
line = linecache.getline(filename, lineno) if line is None else line
File "/usr/lib64/python3.2/linecache.py", line 15, in getline
lines = getlines(filename, module_globals)
File "/usr/lib64/python3.2/doctest.py", line 1372, in __patched_linecache_getlines
return self.save_linecache_getlines(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
return updatecache(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
lines = fp.readlines()
File "/usr/lib64/python3.2/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 40: invalid start byte
======================================================================
FAIL: NestedWith (withstat)
Doctest: withstat.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat.NestedWith
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/withstat.cpython-32.so", line unknown line number, in NestedWith
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/withstat.cpython-32.so", line ?, in withstat.NestedWith
Failed example:
NestedWith().runTest()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest withstat.NestedWith[0]>", line 1, in <module>
NestedWith().runTest()
File "withstat.pyx", line 183, in withstat.NestedWith.runTest (withstat.cpp:5544)
File "withstat.pyx", line 222, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:8071)
File "withstat.pyx", line 223, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:7959)
File "withstat.pyx", line 224, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:7808)
File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
DeprecationWarning, 2)
File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
line = linecache.getline(filename, lineno) if line is None else line
File "/usr/lib64/python3.2/linecache.py", line 15, in getline
lines = getlines(filename, module_globals)
File "/usr/lib64/python3.2/doctest.py", line 1372, in __patched_linecache_getlines
return self.save_linecache_getlines(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
return updatecache(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
lines = fp.readlines()
File "/usr/lib64/python3.2/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 24: invalid continuation byte
======================================================================
FAIL: NestedWith (withstat_py)
Doctest: withstat_py.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat_py.NestedWith
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/withstat_py.cpython-32.so", line unknown line number, in NestedWith
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/withstat_py.cpython-32.so", line ?, in withstat_py.NestedWith
Failed example:
NestedWith().runTest()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest withstat_py.NestedWith[0]>", line 1, in <module>
NestedWith().runTest()
File "withstat_py.py", line 250, in withstat_py.NestedWith.runTest (withstat_py.c:7232)
File "withstat_py.py", line 289, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:9759)
File "withstat_py.py", line 290, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:9647)
File "withstat_py.py", line 291, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:9496)
File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
DeprecationWarning, 2)
File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
line = linecache.getline(filename, lineno) if line is None else line
File "/usr/lib64/python3.2/linecache.py", line 15, in getline
lines = getlines(filename, module_globals)
File "/usr/lib64/python3.2/doctest.py", line 1372, in __patched_linecache_getlines
return self.save_linecache_getlines(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
return updatecache(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
lines = fp.readlines()
File "/usr/lib64/python3.2/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 24: invalid start byte
======================================================================
FAIL: NestedWith (withstat_py)
Doctest: withstat_py.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat_py.NestedWith
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/withstat_py.cpython-32.so", line unknown line number, in NestedWith
----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/withstat_py.cpython-32.so", line ?, in withstat_py.NestedWith
Failed example:
NestedWith().runTest()
Exception raised:
Traceback (most recent call last):
File "/usr/lib64/python3.2/doctest.py", line 1288, in __run
compileflags, 1), test.globs)
File "<doctest withstat_py.NestedWith[0]>", line 1, in <module>
NestedWith().runTest()
File "withstat_py.py", line 250, in withstat_py.NestedWith.runTest (withstat_py.cpp:7232)
File "withstat_py.py", line 289, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:9759)
File "withstat_py.py", line 290, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:9647)
File "withstat_py.py", line 291, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:9496)
File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
DeprecationWarning, 2)
File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
file.write(formatwarning(message, category, filename, lineno, line))
File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
line = linecache.getline(filename, lineno) if line is None else line
File "/usr/lib64/python3.2/linecache.py", line 15, in getline
lines = getlines(filename, module_globals)
File "/usr/lib64/python3.2/doctest.py", line 1372, in __patched_linecache_getlines
return self.save_linecache_getlines(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
return updatecache(filename, module_globals)
File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
lines = fp.readlines()
File "/usr/lib64/python3.2/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 24: invalid start byte
----------------------------------------------------------------------
Ran 6457 tests in 2232.009s
FAILED (failures=14)
ALL DONE
--
Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20120305/9a7c3118/attachment-0001.pgp>
More information about the cython-devel
mailing list