<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>Does anyone know how I might gracefully stop a doctest in mid-stream?<br><br>There doesn't appear to be any official support in the doctest module, though I could have missed something.<br><br>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).<br><br>Garrett<br><br></div></body></html>