code: def test_create_single_connection_client_from_url():
      client = Redis.from_url(
          "redis://localhost:6379/0?", single_connection_client=True
      )
      assert client.single_connection_client is True
  
file_path: redis-py/tests/test_asyncio/test_connection.py
imports: import asyncio
  import socket
  import types
  from unittest.mock import patch
  import pytest
  import redis
  from redis._parsers import _AsyncHiredisParser, _AsyncRESP2Parser, _AsyncRESP3Parser, _AsyncRESPBase
  from redis.asyncio import ConnectionPool, Redis
  from redis.asyncio.connection import Connection, UnixDomainSocketConnection, parse_url
  from redis.asyncio.retry import Retry
  from redis.backoff import NoBackoff
  from redis.exceptions import ConnectionError, InvalidResponse, TimeoutError
  from redis.utils import HIREDIS_AVAILABLE
  from tests.conftest import skip_if_server_version_lt
  from .compat import mock
  from .mocks import MockStream
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_single_connection_client_from_url() without return types