def METHOD_NAME():
    prof = profile_line(pyth_image, (0, 1), (3, 1), linewidth=3, order=0,
                        reduce_func=np.mean, mode='reflect')
    expected_prof = pyth_image[:4, :3].mean(1)
    assert_almost_equal(prof, expected_prof)