docstr: Return RERUN; transition to the CONTINUE state.
docstr_tok: ["Return","RERUN",";","transition","to","the","CONTINUE","state","."]
code: def test_on_script_yield_with_rerun_request(self):
      """Return RERUN; transition to the CONTINUE state."""
      reqs = ScriptRequests()
      reqs.request_rerun(RerunData())
  
      result = reqs.on_scriptrunner_yield()
      self.assertEqual(
          ScriptRequest(ScriptRequestType.RERUN, RerunData()), result
      )
      self.assertEqual(ScriptRequestType.CONTINUE, 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 11 for calling the ScriptRequestsTest obj's underlying member method code with example usage: obj.test_on_script_yield_with_rerun_request() without return types