[Chicago] doctest to string/file?

Massimo Di Pierro mdipierro at cs.depaul.edu
Wed Dec 5 04:59:46 CET 2007


Never mind. It appears doctest is not thread safe so I will just  
redirect stdout to a StringIO.

Massimo

On Dec 4, 2007, at 9:27 PM, DiPierro, Massimo wrote:

> Does everybody know if there is a way to redirect the output of
> doctest.testmod to a string or file?
>
> Massimo
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago



More information about the Chicago mailing list