unit test for a printing method

Marco Wahl marco.wahl at gmail.com
Tue Aug 29 15:02:12 EDT 2006


"Fredrik Lundh" <fredrik at pythonware.com> writes:
>>>
>>> why are you trying to reinvent doctest ?
>>
>> The OP asked for unit test.  This could be read that
>> the OP wants to use module unittest.
>
>     http://docs.python.org/lib/doctest-unittest-api.html

Ahh, that's good to know that doctests can be
integrated into unittest suites.

Thank you for the information




More information about the Python-list mailing list