Fredrik Lundh wrote: > Scott David Daniels wrote: > > > For silly module myprog.py: > > def A(s): > > print '---'+s+'---' > > in test_myprog.py: > > import unittest > > from cStringIO import StringIO # or from StringIO ... > > why are you trying to reinvent doctest ? > > </F>
it was my understanding that "doctest" is intented to test the little examples in a function/class documention, do people use it for more then that, i.e - do an extentive output testing for thier apps? amit -- http://mail.python.org/mailman/listinfo/python-list