Serhiy Storchaka added the comment:

+1. I was going to suggest something similar for displaying the 
I was going to suggest something similar to display the clarification message 
in case of a fail:

    for arg, expected in [(...),...]:
        with self.somegoodname(msg="arg=%s"%arg):
            self.assertEqual(foo(arg), expected)

But your idea is even better.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16997>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to