Michael Foord <[email protected]> added the comment:
David, I don't understand - it looks like Nick's suggestion would allow you to
create a name per case, that's the point of it!
You could even do this:
def _name_from_case(name, cases):
for idx, case in enumerate(cases, start=1):
test_name = case[0]
params = case[1:]
yield (test_name, params)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7897>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com