[Chicago] Stopping doctests

Garrett Smith g at rrett.us.com
Fri Jun 27 19:29:29 CEST 2008

Does anyone know how I might gracefully stop a doctest in mid-stream? 

There doesn't appear to be any official support in the doctest module, though I could have missed something. 

The case is where I'm testing external services and, if the service is down, I don't want to plunge ahead the run all of the tests (by design doctests run through to completion). 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20080627/a7bdf279/attachment.htm>

More information about the Chicago mailing list