code: def test_22():
      A = np.arange(1024).reshape((32, 32))
      B = np.array(
          [
              [0, 1],
              [2, 3],
          ]
      )
      C = np.array(
          [
              [0, 1, 0],
              [2, 3, 0],
              [0, 0, 0],
          ]
      )
      AB = mahotas.convolve(A, B)
      AC = mahotas.convolve(A, C)
      assert AB.shape == AC.shape
      assert np.all(AB == AC)
  
imports: import numpy
  import mahotas
  import mahotas.convolve
  import mahotas
  from mahotas.convolve import convolve1d, gaussian_filter
  import mahotas._filters
  from mahotas.tests.utils import luispedro_jpg
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_22() without return types