How to doctest if __name__ already used?

Chris Lambacher chris at
Sun May 7 16:06:59 CEST 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.


More information about the Python-list mailing list