code: def test_convolve1d_shape():
      f = np.arange(64 * 4).reshape((16, -1))
      n = [0.5, 1.0, 0.5]
      for axis in (0, 1):
          g = convolve1d(f, n, axis)
          assert g.shape == f.shape
  
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 4 for calling a global function with example usage: test_convolve1d_shape() without return types