Mark Lawrence added the comment: The change to codecs.py seems simple enough but would we usually use plain asserts in test code? ---------- nosy: +BreamoreBoy _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21944> _______________________________________