code: def test_dveh002_prevent_update_not_in_error_msg(dash_duo):
      # raising PreventUpdate shouldn't display the error message
      app = Dash(__name__)
  
      app.layout = html.Div(
          [
              html.Button(
                  id="python", children="Prevent update", n_clicks=0
              ),
              html.Div(id="output"),
          ]
      )
  
      @app.callback(
          Output("output", "children"), [Input("python", "n_clicks")]
      )
      def update_output(n_clicks):
          if n_clicks == 1:
              raise PreventUpdate
          if n_clicks == 2:
              raise Exception("An actual Python exception")
  
          return "button clicks: {}".format(n_clicks)
  
      dash_duo.start_server(
          app,
          debug=True,
          use_reloader=False,
          use_debugger=True,
          dev_tools_hot_reload=False,
      )
  
      for _ in range(3):
          dash_duo.find_element("#python").click()
  
      assert (
          dash_duo.find_element("#output").text == "button clicks: 3"
      ), "the click counts correctly in output"
  
      # two exceptions fired, but only a single exception appeared in the UI:
      # the prevent default was not displayed
      dash_duo.wait_for_text_to_equal(
          dash_duo.devtools_error_count_locator, "1"
      )
  
file_path: dash/tests/integration/devtools/test_devtools_error_handling.py
imports: from dash import Dash, Input, Output, html, dcc
  from dash.exceptions import PreventUpdate
label_desc: Use image node_id 5 for calling a global function with example usage: test_dveh002_prevent_update_not_in_error_msg(dash_duo) and returns: str