code: def test_info(self, caplog):
      with caplog.at_level(logging.INFO, logger="dvc"):
          logger.info("message")
  
          assert formatter.format(caplog.records[0]) == "message"
  
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 2 for calling the TestColorFormatter obj's underlying member method code with example usage: obj.test_info(caplog) without return types