code: def test_creation_with_ioloop(self) -> None:
      s = bcs.ClientSession(io_loop="io_loop")
      assert s.connected is False
      assert s.document is None
      assert s._connection._arguments is None
      assert s._connection.io_loop == "io_loop"
      assert isinstance(s.id, str)
      assert len(s.id) == 44
  
file_path: bokeh/tests/unit/bokeh/client/test_session__client.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import MagicMock, patch
  import bokeh.client.session
label_desc: Use image node_id 4 for calling the Test_ClientSession obj's underlying member method code with example usage: obj.test_creation_with_ioloop() without return types