How to doctest if __name__ already used?

Chris Lambacher chris at kateandchris.net
Sun May 7 10:06:59 EDT 2006


On Fri, May 05, 2006 at 10:33:48PM +0000, Leo Breebaart wrote:
> Trigger doctest.testmod() via a "--test" command-line option, is
> what I'm thinking. But is that really the best way?
That is what I would have suggested.

-Chris



More information about the Python-list mailing list