[EMAIL PROTECTED] schrieb: > Anyhow, I'm not attacking doctest, but rather, just trying > to understand why there seems to be two very similar ways > of testing your code built into the system (considering that > one motto around here is "There should be one -- and > preferably only one -- obvious way to do it.").
I don't think doctest and unittest are similar ways; they are pretty different ways. Also, the "one obvious way" should not be overstressed and taken as a dogma for libraries, modules and frameworks. Actually, on that level we see the opposite in the Python world: A plethora of tools for XML processing, GUI frameworks, Web frameworks etc. Some think this is deplorable, but I see this as something exciting and positive. -- Christoph -- http://mail.python.org/mailman/listinfo/python-list