"mitchell" <[EMAIL PROTECTED]> wrote:

> Is it possible to store doctest's verbose output to a variable?
>
> For example:
>
>   import doctest, my_test_module
>   a = doctest.testmod(my_test_module)
>
> The contents of 'a' is the tuple of passed and failed results. I tried
> passing verbose mode to the testmod function, but 'a' is still a tuple.
>
> Any help is greatly appreciated.

the third example on this page

    http://effbot.org/librarybook/stringio.htm

shows one way to do that.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to