code: def test_linear() -> None:
      results = []
      func = bd.linear(m=2.5, b=3.7)(_collector(results))
      for i in range(4):
          func()
      assert_allclose(results, [3.7, 6.2, 8.7, 11.2])
  
file_path: bokeh/tests/unit/bokeh/test_driving.py
imports: from __future__ import annotations
  import pytest
  from numpy.testing import assert_allclose
  from tests.support.util.api import verify_all
  import bokeh.driving
label_desc: Use image node_id 6 for calling a global function with example usage: test_linear() without return types