code: def test_copy_tree_verbosity(self):
      mkpath(self.target, verbose=0)
  
      copy_tree(self.target, self.target2, verbose=0)
      self.assertEqual(self._logs, [])
  
      remove_tree(self.root_target, verbose=0)
  
      mkpath(self.target, verbose=0)
      a_file = os.path.join(self.target, "ok.txt")
      f = open(a_file, "w")
      try:
          f.write("some content")
      finally:
          f.close()
  
      wanted = ["copying %s -> %s" % (a_file, self.target2)]
      copy_tree(self.target, self.target2, verbose=1)
      self.assertEqual(self._logs, wanted)
  
      remove_tree(self.root_target, verbose=0)
      remove_tree(self.target2, verbose=0)
  
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 7 for calling the DirUtilTestCase obj's underlying member method code with example usage: obj.test_copy_tree_verbosity() without return types