class_docstr: These tests only validate that we get unicode values back
class_docstr_tok: ["These","tests","only","validate","that","we","get","unicode","values","back"]
code: def make_message(self, type, channel, data, pattern=None):
      return {
          "type": type,
          "channel": channel,
          "pattern": pattern,
          "data": data,
      }
  
imports: import asyncio
  import functools
  import socket
  import sys
  from typing import Optional
  from unittest.mock import patch
  import pytest
  import pytest_asyncio
  import redis.asyncio
  from redis.exceptions import ConnectionError
  from redis.typing import EncodableT
  from redis.utils import HIREDIS_AVAILABLE
  from tests.conftest import get_protocol_version, skip_if_server_version_lt
  from .compat import aclosing, create_task, mock
label_desc: Use image node_id 1 for calling the TestPubSubAutoDecoding obj's underlying member method code with example usage: obj.make_message(type, channel, data, pattern) and returns: dict