Claudiu Popa added the comment:

Here's a test patch which uses inspect.unwrap. Unfortunately, I can't test with 
numba, so I don't know if it works for that, but any decorated function which 
uses `functools.update_wrapper` or `wraps` should be detected by doctest.

----------
keywords: +patch
Added file: http://bugs.python.org/file35838/issue21740.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21740>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to