def reset(self): self.weight[...] = 0 l2svm.reset() check_error()
def tearDown(self): super().setUp() l2svm.reset() raiseException()