[Zope3-dev] Doctest imports [was: CVS: Zope3/src/zope/app/interface
- __init__.py:1.3]
Philipp von Weitershausen
philipp at weitershausen.de
Sat Mar 20 19:00:44 EST 2004
Nathan Yergler wrote:
> Update of /cvs-repository/Zope3/src/zope/app/interface
> In directory cvs.zope.org:/tmp/cvs-serv12493/src/zope/app/interface
>
> Modified Files:
> __init__.py
> Log Message:
> Moved doctest import into doctest to fix circular import.
This is a general scheme we should follow. Things that are needed by
doctests should be imported in the doctests themselves. That will not
only make the docstring that the doctest is part of more coherent to
human readers; it will also avoid unnecessary false positives when
checking for unused imports with the importchecker tool.
Philipp
More information about the Zope3-dev
mailing list