[Python-Dev] test_codecs failing

Walter Dörwald walter at livinglogic.de
Tue Feb 8 11:11:31 CET 2005


Raymond Hettinger wrote:
> The most recent test_codecs check-in (1.19) is failing on a MSCV6.0
> compilation running on WinMe:
> 
> ----------------------------------------------------------------------
> Ran 35 tests in 1.430s
> 
> FAILED (failures=1)
> Traceback (most recent call last):
 > [...]
> test.test_support.TestFailed: Traceback (most recent call last):
>   File "\py25\lib\test\test_codecs.py", line 165, in test_badbom
>     self.assertRaises(UnicodeError, f.read)
> AssertionError: UnicodeError not raised

Fixed. But the question remains: Why does a StreamWriter have
a read() method?

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list