code: def test_set_with_no_forward_msg_sends_no_msg_and_sets_query_params(
      self,
  ):
      self.query_params.set_with_no_forward_msg("test", "test")
      assert self.query_params["test"] == "test"
      with pytest.raises(IndexError):
          # no forward message should be sent
          self.get_message_from_queue(0)
  
imports: import pytest
  from streamlit.errors import StreamlitAPIException
  from streamlit.runtime.state.query_params import QueryParams
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 36 for calling the QueryParamsMethodTests obj's underlying member method code with example usage: obj.test_set_with_no_forward_msg_sends_no_msg_and_sets_query_params() without return types