def tearDown(self):
    self._RunAsync(server_log.LogBatchPersistor.Instance().close)
    self._RunAsync(OpManager.Instance().Drain)

    shutil.rmtree(self._temp_dir)
    super(DBBaseTestCase, self).tearDown()
    self.assertIs(Operation.GetCurrent().operation_id, None)
Center crop with padding (using `value`) if necessary
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/base_test.py/DBBaseTestCase.tearDown--crossover with--dataset/ETHPy150Open gustavla/autocolorize/autocolorize/image.py/center_crop