def tearDown(self): if self.batched_gesv_limit is not None: set_batched_gesv_limit(self.old_limit)
def setUp(self): if self.batched_gesv_limit is not None: self.old_limit = get_batched_gesv_limit() set_batched_gesv_limit(self.batched_gesv_limit)