Skipping decorators in unit tests

Cameron Simpson cs at zip.com.au
Fri Oct 11 17:38:02 EDT 2013


On 11Oct2013 02:37, Gilles Lenfant <gilles.lenfant at gmail.com> wrote:
> * Adding an "__original__" attribute to the wrapper func in the decorators of my own

Just one remark: Call this __original or _original (or even original).
The __x__ names are reserved for python operations (like __add__, supporting "+").

Cheers,
-- 
Cameron Simpson <cs at zip.com.au>

I very strongly suggest that you periodically place ice packs over the abused
areas.  - Steve Garnier



More information about the Python-list mailing list