Tidying up

Olivier Grisel olivier.grisel at ensta.org
Fri Apr 15 10:11:44 BST 2005


Martin Pool wrote:

> I think unittest is rather ugly and unpythonic, so I don't know if I'd
> really switch to that, but some tests in regular Python should be added.
> 

Why not keep only doctests that have a pedagocical value in the API docstring 
and move the remaining tests in external (but yet documented) docfiles?

http://docs.python.org/lib/doctest-simple-testfile.html

Best,

Olivier




More information about the bazaar mailing list