class_docstr: Test demo data download functions.
class_docstr_tok: ["Test","demo","data","download","functions","."]
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."""
      os.chdir(self.prev_dir)
      try:
          import shutil
  
          shutil.rmtree(self.base_dir, ignore_errors=True)
      except OSError:
          pass
  
imports: from __future__ import annotations
  import contextlib
  import io
  import os
  import sys
  import tarfile
  import unittest
  from collections import defaultdict
  from unittest import mock
  import pytest
label_desc: Use image node_id 2 for calling the TestDemo obj's underlying member method code with example usage: obj.tearDown() without return types