On Tue, Mar 8, 2011 at 7:43 PM, Kenneth Gonsalves <[email protected]> wrote:
>        self.assertRaises(TypeError,testfunc())

Not to call testfunc, but just exercise.

       self.assertRaises(TypeError,testfunc)

unittest framework takes care of calling and evaluating.

-- 
Senthil
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to