Integrating doctest with unittest

Aahz aahz at pythoncraft.com
Sun Jan 9 11:56:52 EST 2011


In article <4d038b63$0$30000$c3e8da3$5496439d at news.astraweb.com>,
Steven D'Aprano  <steve+comp.lang.python at pearwood.info> wrote:
>
>Is there a way to have unittest.main() find and run doc_test_suite 
>together with the other test suites?

You probably need to use nose or something.  (That's what we're doing.)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Think of it as evolution in action."  --Tony Rand



More information about the Python-list mailing list