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>

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

Reply via email to