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

Jean-Paul Calderone report at bugs.python.org
Mon Dec 28 15:30:41 CET 2009


New submission from Jean-Paul Calderone <exarkun at 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 breaks several Twisted unit tests and, I think, goes against the
expectations users have of the "shortDescription" method.

----------
components: Library (Lib)
messages: 96948
nosy: exarkun
severity: normal
status: open
title: unittest.TestCase.shortDescription isn't short anymore
type: behavior
versions: Python 2.7

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


More information about the Python-bugs-list mailing list