doctest + sqlobject (TDD)

petr.jakes.tpc at gmail.com petr.jakes.tpc at gmail.com
Sat Dec 22 15:31:56 EST 2007


Thanks, it works.
And thanks for your comments which are worth to think about :)
Petr

> This has nothing to do with your previous problem. Use
>
> from __main__ import myFunction, myOtherFunction, ...
>
> or
>
> from __main__ import *
>
> if you prefer "namespace pollution paradise"*.
>
> Again, it would be better to move the doctest.testfile() call into a
> separate script.
>
> Peter
>
> (*) which I'm tempted to write "namespace 'pollution' paradise" or
> "namespace pollution 'paradise'", but don't, for fear of "quoting hell".




More information about the Python-list mailing list