In my python test case, I test it to catch an exception throws in my method:
self.assertRaises(Excpetion, lambda : myfunction(anObject))
Where in \'myfuction\', it