class_docstr: Test class for logging utility tests.
class_docstr_tok: ["Test","class","for","logging","utility","tests","."]
code: def test_close_and_remove_logger_handlers(self):
      temp_file = NamedTemporaryFile("w", delete=False)
      temp_file.close()
      TEMP_FILES.append(temp_file)
      TEMP_FILE_PATHS.append(temp_file.name)
      logger = get_skll_logger(
          "test_close_and_remove_logger_handlers", temp_file.name
      )
      LOGGERS.append(logger)
      close_and_remove_logger_handlers(logger)
      assert not logger.handlers
  
file_path: skll/tests/test_logging_utils.py
imports: import re
  import sys
  import unittest
  import warnings
  from tempfile import NamedTemporaryFile
  from six import StringIO
  from sklearn.metrics import roc_curve
  from skll.utils.logging import close_and_remove_logger_handlers, get_skll_logger, orig_showwarning
  from skll.utils.testing import unlink
label_desc: Use image node_id 7 for calling the TestLoggingUtils obj's underlying member method code with example usage: obj.test_close_and_remove_logger_handlers() without return types