[issue9284] inspect.findsource() cannot find source for doctest code
Benjamin Peterson
report at bugs.python.org
Thu Jun 9 17:40:52 CEST 2011
Benjamin Peterson <benjamin at python.org> added the comment:
2011/6/9 Dirkjan Ochtman <report at bugs.python.org>:
>
> Dirkjan Ochtman <dirkjan at ochtman.nl> added the comment:
>
> I'm fine with moving the test; I put it in doctest because the inspect behavior we're relying upon here seems somewhat doctest-specific, and the test itself is a doctest. Do you want me to move it? I'll fix up the other things as well.
I would prefer that if the bug is somehow reintroduced, test_inspect
instead of test_doctest fails.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9284>
_______________________________________
More information about the Python-bugs-list
mailing list