[issue11887] unittest fails on comparing str with bytes if python has the -bb option
STINNER Victor
report at bugs.python.org
Mon May 2 15:49:57 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Rather than fiddling with the warnings filters, wouldn't it be easier
> to just catch BytesWarning and return False in that case?
It's another possible solution, but it would display a warning using python -b.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11887>
_______________________________________
More information about the Python-bugs-list
mailing list