What is the proper way to test (using unit test) a method that print
information?
for example:

def A(s):
         print '---'+s+'---'

and i want to check that A("bla") really print out "---bla---"

thanks
amit

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

Reply via email to