code: def test_reduce_func_None_linewidth_1():
      prof = profile_line(
          pyth_image,
          (1, 2),
          (4, 2),
          linewidth=1,
          order=0,
          reduce_func=None,
          mode="constant",
      )
      expected_prof = pyth_image[1:5, 2, np.newaxis]
      assert_almost_equal(prof, expected_prof)
  
imports: import numpy
  from ..._shared.testing import assert_equal, assert_almost_equal
  from ..profile import profile_line
label_desc: Use image node_id 19 for calling a global function with example usage: test_reduce_func_None_linewidth_1() without return types