code: def test_connect_from_url_tcp(self):
      connection = redis.Redis.from_url("redis://localhost")
      pool = connection.connection_pool
  
      print(repr(pool))
      assert re.match(
          r"< .*?([^\.]+) \( < .*?([^\.]+) \( (.+) \) > \) >",
          repr(pool),
          re.VERBOSE,
      ).groups() == (
          "ConnectionPool",
          "Connection",
          "host=localhost,port=6379,db=0",
      )
  
imports: import asyncio
  import re
  import pytest
  import pytest_asyncio
  import redis.asyncio
  from redis.asyncio.connection import Connection, to_bool
  from tests.conftest import skip_if_redis_enterprise, skip_if_server_version_lt
  from .compat import aclosing, mock
  from .conftest import asynccontextmanager
  from .test_pubsub import wait_for_message
label_desc: Use image node_id 1 for calling the TestConnection obj's underlying member method code with example usage: obj.test_connect_from_url_tcp() without return types