code: def test_plotevent_constructor_div() -> None:
      with pytest.raises(ValueError):
          events.PlotEvent(Div())
  
imports: from __future__ import annotations
  import pytest
  from bokeh.core.serialization import Deserializer
  from bokeh.models import Button, Div, Plot, TextInput
  from bokeh import events
label_desc: Use image node_id 20 for calling a global function with example usage: test_plotevent_constructor_div() without return types