[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-02-10 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Fixed revision 78130. -- resolution: - accepted stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-02-06 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___ ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-02-05 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The problem this fix was trying to fix was that if you provide a docstring for your test then the test name is ommitted in the report. This could be fixed in the _TextTestResult instead - changing the getDescription() method to always

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-02-05 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: I agree that changing the result object is a better way to implement this feature: if the results object wants to report things by *name*, not *description*, then it should get the test's *name*, not rely on changing the meaning of the

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-01-12 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___ ___ Python-bugs-list

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2010-01-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___ ___ Python-bugs-list

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2009-12-29 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: It looks like this was changed in r70837 -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2009-12-29 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___ ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2009-12-28 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone exar...@divmod.com: Sometime between Python 2.6 and 2.7a1, the unittest.TestCase.shortDescription method changed from returning just the test method name to the test method name, in parentheses, the fully qualified Python name of the test case. This

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2009-12-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +michael.foord priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7588 ___

[issue7588] unittest.TestCase.shortDescription isn't short anymore

2009-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Personally I agree. I'll see if I can find the change (don't think it was me) and see if there was some kind of rationale. -- ___ Python tracker rep...@bugs.python.org