Benjamin Peterson <benja...@python.org> added the comment: You still haven't explained why including multiline literals is a good idea.
Also, the reason we avoid matching exact messages is it can vary across implementations. You can still do an accurate test with something like self.assertIn("foobar", str(e)) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com