class_docstr: Test generic image reader.
class_docstr_tok: ["Test","generic","image","reader","."]
docstr: Remove the temporary directory created for a test.
docstr_tok: ["Remove","the","temporary","directory","created","for","a","test","."]
code: def tearDown(self):
      """Remove the temporary directory created for a test."""
      try:
          import shutil
  
          shutil.rmtree(self.base_dir, ignore_errors=True)
      except OSError:
          pass
  
file_path: satpy/satpy/tests/reader_tests/test_generic_image.py
imports: import os
  import unittest
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling the TestGenericImage obj's underlying member method code with example usage: obj.tearDown() without return types