[issue13349] Non-informative error message in index() and remove() functions

Sean Ochoa report at bugs.python.org
Thu Nov 8 06:51:26 CET 2012


Sean Ochoa added the comment:

>From Taggnostr on #python-dev:  

1.) Use assertRaises+assertIn instead of assertRaisesRegex
2.) Add or change an existing test that you've already updated to use  elements with a repr longer than 100 chars.

----------

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


More information about the Python-bugs-list mailing list