code: def test_consistency_5x5(mode):
      with Image.open("Tests/images/hopper.bmp") as source:
          reference_name = "hopper_emboss_more"
          reference_name += "_I.png" if mode == "I" else ".bmp"
          with Image.open(
              "Tests/images/" + reference_name
          ) as reference:
              kernel = ImageFilter.Kernel(
                  (5, 5),
                  # fmt: off
                  (-1, -1, -1, -1,  0,
                   -1, -1, -1,  0,  1,
                   -1, -1,  0,  1,  1,
                   -1,  0,  1,  1,  1,
                   0,   1,  1,  1,  1),
                  # fmt: on
                  0.3,
              )
              source = source.split() * 2
              reference = reference.split() * 2
  
              if mode == "I":
                  source = source[0].convert(mode)
              else:
                  source = Image.merge(mode, source[: len(mode)])
              reference = Image.merge(mode, reference[: len(mode)])
              assert_image_equal(source.filter(kernel), reference)
  
file_path: pillow/Tests/test_image_filter.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageFilter
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 11 for calling a global function with example usage: test_consistency_5x5(mode) without return types