[Python-3000] Py3k_struni additional test failures under cygwin

Guido van Rossum guido at python.org
Wed Jul 18 19:02:07 CEST 2007


On 7/17/07, Joe Smith <unknown_kev_cat at hotmail.com> wrote:
> Building Py3k_struni under Cygwin I've noticed a few more tests failing than
> the wiki shows.
> These are using SVN revision 56413.
>
> Some spurious errors seem to occur if Python/ is not remaned temporally. I
> have not included those. (This is an oddity of the cygwin '.exe'
> autohandling combined with case-insensitivity)
>
>
> Test_coding: Errors. Traceback included at end of message.
> "test test_descr failed -- ['foo\u1234bar'] slots not caught"
> "test test_largefile failed -- got b'z', but expected 'z'"
> test_marshal: Tests that fail are fasiling with a recursion limit exceeded
> error.
>
>
>
> Tracebacks:
>
> test test_coding failed -- Traceback (most recent call last):
>   File "/home/Owner/py3k-struni/Lib/test/test_coding.py", line 12, in
> test_bad_c
> oding2
>     self.verify_bad_module(module_name)
>   File "/home/Owner/py3k-struni/Lib/test/test_coding.py", line 20, in
> verify_bad
> _module
>     text = fp.read()
>   File "/home/Owner/py3k-struni/Lib/io.py", line 1186, in read
>     res += decoder.decode(self.buffer.read(), True)
>   File "/home/Owner/py3k-struni/Lib/encodings/ascii.py", line 26, in decode
>     return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0:
> ordinal
> not in range(128)

The test_descr and test_largefile failures are reproducible on Ubuntu
and someone will eventually fix them.

I can't reproduce the test_marshal and test_coding failures; please
investigate more on CYGWIN.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list