code: def test_event_constructor_button() -> None:
      model = Button()
      event = events.ModelEvent(model)
      assert event.model == model
  
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 7 for calling a global function with example usage: test_event_constructor_button() without return types