code: def test_repeat() -> None:
      results = []
      func = bd.repeat([0, 1, 5, -1])(_collector(results))
      for i in range(8):
          func()
      assert results == [0, 1, 5, -1, 0, 1, 5, -1]
  
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 7 for calling a global function with example usage: test_repeat() without return types