[issue4080] pyunit - display time of each test case - patch

Ezio Melotti report at bugs.python.org
Wed Jul 7 03:57:51 CEST 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The idea is interesting, but I would prefer to have a way to enable/disable this feature (and maybe even specify its format, e.g. the number of decimals). Moving the logic to an external function (possibly used as a decorator) might avoid some code duplication, but OTOH it would probably slow down the execution and the timing a little (I'm not sure that matters though).

----------
nosy: +ezio.melotti
stage: unit test needed -> patch review
versions:  -3rd party, Python 2.7

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


More information about the Python-bugs-list mailing list