code: def test_show_with_default_args(
      mock__show_with_state: MagicMock,
  ) -> None:
      curstate().reset()
      default_kwargs = dict(
          browser=None, new="tab", notebook_handle=False
      )
      p = Plot()
      bis.show(p, **default_kwargs)
      assert mock__show_with_state.call_count == 1
      assert mock__show_with_state.call_args[0] == (
          p,
          curstate(),
          None,
          "tab",
      )
      assert mock__show_with_state.call_args[1] == {
          "notebook_handle": False
      }
      assert curdoc().roots == []
  
file_path: bokeh/tests/unit/bokeh/io/test_showing.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, Mock, patch
  from bokeh.application.application import Application
  from bokeh.io.doc import curdoc
  from bokeh.io.output import output_notebook
  from bokeh.io.state import State, curstate
  from bokeh.models import ColumnDataSource, GlyphRenderer, Plot
  import bokeh.io.showing
label_desc: Use image node_id 1 for calling a global function with example usage: test_show_with_default_args(mock__show_with_state) without return types