code: def setUp(self):
      super(DirUtilTestCase, self).setUp()
      self._logs = []
      tmp_dir = self.mkdtemp()
      self.root_target = os.path.join(tmp_dir, "deep")
      self.target = os.path.join(self.root_target, "here")
      self.target2 = os.path.join(tmp_dir, "deep2")
      self.old_log = log.info
      log.info = self._log
  
imports: import unittest
  import os
  import stat
  import shutil
  import sys
  from distutils.dir_util import mkpath, remove_tree, create_tree, copy_tree, ensure_relative
  from distutils import log
  from distutils.tests import support
  from test.test_support import run_unittest
label_desc: Use image node_id 2 for calling the DirUtilTestCase obj's underlying member method code with example usage: obj.setUp() without return types