code: def test_deprecation_warnings(logger_mock: Mock):
      st.experimental_rerun()
      logger_mock.assert_called_once()
      msg = logger_mock.call_args.args[0]
      assert "will be removed" in msg
  
      logger_mock.reset_mock()
      st.rerun()
      logger_mock.assert_not_called()
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_deprecation_warnings(logger_mock) without return types