code: def test_html_repr() -> None:
      from bokeh.models import Range1d
  
      html = bs4.BeautifulSoup(bmd.html_repr(Range1d()), "html.parser")
      elts = list(html.children)
      assert len(elts) == 4
      assert elts[0].name == "div"
      assert elts[1].name is None
      assert elts[2].name == "script"
      assert elts[3].name is None
  
imports: from __future__ import annotations
  import pytest
  import bs4
  import bokeh.model.docs
label_desc: Use image node_id 1 for calling a global function with example usage: test_html_repr() without return types