[I wrote] > You could also use the assertRaises() method in pyunit: > > def check_something_exception(self): > self.assertRaises(TheExceptionIThinkItWillRaise, "self.mything", (-1,)) > but this should have been: def check_something_exception(self): self.assertRaises(TheExceptionIThinkItWillRaise, self.mything, -1) Thomas