On Tue, Mar 8, 2011 at 7:43 PM, Kenneth Gonsalves <law...@gmail.com> 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 BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers