[TIP] Multiplatform testing with nose
alex.gaynor at gmail.com
Mon Feb 14 14:15:07 PST 2011
On Mon, Feb 14, 2011 at 4:53 PM, Éric Araujo <merwok at netwok.org> wrote:
> Le 14/02/2011 18:45, holger krekel a écrit :
> > Besides, it's always good to avoid code in __init__.py
> > files including imports.
> Could you elaborate on the reasons for that? This has come up recently
> on another ML, python-dev I think, and the only rationale was use of
> setuptools namespace packages.
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
There are 2 issues: a) it's really easy to get yourself into a circular
import, and b) most people forget to look in __init__.py for code :)
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python