code: def _log(self, msg, *args):
      if len(args) > 0:
          self._logs.append(msg % args)
      else:
          self._logs.append(msg)
  
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 1 for calling the DirUtilTestCase obj's underlying member method code with example usage: obj._log(msg) without return types