[issue11887] unittest fails on comparing str with bytes if python has the -bb option

STINNER Victor report at bugs.python.org
Sun May 1 01:40:13 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

unittest_str_bytes-2.patch:
 - add new tests to reproduce the bug
 - fix the bug: ignore temporary BytesWarning warnings while comparing objects and sequences

----------
Added file: http://bugs.python.org/file21844/unittest_str_bytes-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11887>
_______________________________________


More information about the Python-bugs-list mailing list