code: def test_missing_sysrandom_with_secret_key(
      self, _mock_sysrandom: MagicMock
  ) -> None:
      with envset(BOKEH_SECRET_KEY="foo"):
          with pytest.warns(UserWarning) as warns:
              random, using_sysrandom = _get_sysrandom()
              assert not using_sysrandom
              assert len(warns) == 1
              assert warns[0].message.args[0] == _MERSENNE_MSG
  
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 3 for calling the Test__get_sysrandom obj's underlying member method code with example usage: obj.test_missing_sysrandom_with_secret_key(_mock_sysrandom) without return types