docstr: Return STOP; remain in the STOP state.
docstr_tok: ["Return","STOP",";","remain","in","the","STOP","state","."]
code: def test_on_script_yield_with_stop_request(self):
      """Return STOP; remain in the STOP state."""
      reqs = ScriptRequests()
      reqs.request_stop()
  
      result = reqs.on_scriptrunner_yield()
      self.assertEqual(ScriptRequest(ScriptRequestType.STOP), result)
      self.assertEqual(ScriptRequestType.STOP, reqs._state)
  
imports: import unittest
  from typing import Optional
  from streamlit.proto.WidgetStates_pb2 import WidgetState, WidgetStates
  from streamlit.runtime.scriptrunner.script_requests import RerunData, ScriptRequest, ScriptRequests, ScriptRequestType
label_desc: Use image node_id 10 for calling the ScriptRequestsTest obj's underlying member method code with example usage: obj.test_on_script_yield_with_stop_request() without return types