[issue1935] test_descr.py converted to unittest
Brett Cannon
report at bugs.python.org
Tue Jan 29 21:52:25 CET 2008
Brett Cannon added the comment:
On Jan 29, 2008 12:24 PM, Amaury Forgeot d'Arc <report at bugs.python.org> wrote:
>
> Amaury Forgeot d'Arc added the comment:
>
> Did he misunderstand the last comment in this post of yours?
> http://code.google.com/p/google-highly-open-participation-psf/issues/detail?id=291#c24
Ah, I see what you mean.
So docstrings are not used in testing methods because unittest outputs
those as the name of the test and they are not always useful. The
convention is to make them comments instead and let the method test
name be what unittest outputs.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1935>
__________________________________
More information about the Python-bugs-list
mailing list