code: def test_find_config_files_disable(self):
      # Ticket #1180: Allow user to disable their home config file.
      temp_home = self.mkdtemp()
      if os.name == "posix":
          user_filename = os.path.join(temp_home, ".pydistutils.cfg")
      else:
          user_filename = os.path.join(temp_home, "pydistutils.cfg")
  
      with open(user_filename, "w") as f:
          f.write("[distutils]\n")
  
      def _expander(path):
          return temp_home
  
      old_expander = os.path.expanduser
      os.path.expanduser = _expander
      try:
          d = distutils.dist.Distribution()
          all_files = d.find_config_files()
  
          d = distutils.dist.Distribution(
              attrs={"script_args": ["--no-user-cfg"]}
          )
          files = d.find_config_files()
      finally:
          os.path.expanduser = old_expander
  
      # make sure --no-user-cfg disables the user cfg file
      self.assertEqual(len(all_files) - 1, len(files))
  
imports: import os
  import StringIO
  import sys
  import unittest
  import warnings
  import textwrap
  from distutils.dist import Distribution, fix_help_options
  from distutils.cmd import Command
  import distutils.dist
  from test.test_support import TESTFN, captured_stdout, run_unittest, unlink
  from distutils.tests import support
  from distutils import log
label_desc: Use image node_id 13 for calling the DistributionTestCase obj's underlying member method code with example usage: obj.test_find_config_files_disable() and returns: temp_home