[docs] [issue14971] (unittest) loadTestsFromName does not work on method with a decorator

R. David Murray report at bugs.python.org
Thu May 31 21:58:29 CEST 2012

R. David Murray <rdmurray at bitdance.com> added the comment:

I don't think this is documented anywhere (and should be).  I believe what you need to do is use functools.wraps on your wrapper function.

assignee:  -> docs at python
components: +Documentation -None
nosy: +docs at python, michael.foord, r.david.murray
versions: +Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list