Daniel Larsson added the comment:
Here's a patch that alters the order of checks in DocTestFinder._from_module
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1108>
__--- doctest.py.orig 2007-09-05 1
New submission from Daniel Larsson:
Seems like doctest won't recognize functions inside the module under
test are actually in that module, if the function is decorated by a
decorator that wraps the function in an externally defined function,
such as in this silly example:
# decorator.py
i