code: def test_payload_error(self):
      session_id = generate_session_id()
      with pytest.raises(RuntimeError):
          generate_jwt_token(
              session_id, extra_payload=dict(session_id=10)
          )
  
imports: from __future__ import annotations
  import pytest
  import calendar
  import codecs
  import datetime
  import json
  import random
  from unittest.mock import MagicMock, Mock, patch
  from bokeh.util.token import _TOKEN_ZLIB_KEY, _base64_decode, _base64_encode, _get_sysrandom, _reseed_if_needed, _signature, check_token_signature, generate_jwt_token, generate_secret_key, generate_session_id, get_session_id, get_token_payload
  from tests.support.util.env import envset
  import bokeh.util.token
label_desc: Use image node_id 10 for calling the TestSessionId obj's underlying member method code with example usage: obj.test_payload_error() without return types