code: def test_exception_with_description_and_without_message(self, caplog):
      with caplog.at_level(logging.INFO, logger="dvc"):
          try:
              raise Exception("description")
          except Exception:
              logger.exception("")
  
          expected = "{red}ERROR{nc}: description".format(**colors)
  
          assert expected == formatter.format(caplog.records[0])
  
imports: import logging
  import time
  import traceback
  from datetime import datetime
  import colorama
  import pytest
  import dvc.logger
  from dvc.exceptions import DvcException
label_desc: Use image node_id 6 for calling the TestColorFormatter obj's underlying member method code with example usage: obj.test_exception_with_description_and_without_message(caplog) without return types