docstr: A stop request will unconditionally succeed regardless of the
  ScriptRequests' current state.
docstr_tok: ["A","stop","request","will","unconditionally","succeed","regardless","of","the","ScriptRequests","'","current","state","."]
code: def test_stop(self):
      """A stop request will unconditionally succeed regardless of the
      ScriptRequests' current state.
      """
  
      for state in ScriptRequestType:
          reqs = ScriptRequests()
          reqs._state = state
          reqs.request_stop()
          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 2 for calling the ScriptRequestsTest obj's underlying member method code with example usage: obj.test_stop() without return types