code: def test_dvcv004_duplicate_outputs_across_callbacks(dash_duo):
      app = Dash(__name__)
      app.layout = html.Div(
          [html.Div(id="a"), html.Div(id="b"), html.Div(id="c")]
      )
  
      @app.callback(
          [Output("a", "children"), Output("a", "style")],
          [Input("b", "children")],
      )
      def x(b):
          return b, b
  
      @app.callback(Output("b", "children"), [Input("b", "style")])
      def y(b):
          return b
  
      @app.callback(Output("a", "children"), [Input("b", "children")])
      def x2(b):
          return b
  
      @app.callback(
          [Output("b", "children"), Output("b", "style")],
          [Input("c", "children")],
      )
      def y2(c):
          return c
  
      @app.callback(
          [
              Output({"a": 1}, "children"),
              Output({"b": ALL, "c": 1}, "children"),
          ],
          [Input("b", "children")],
      )
      def z(b):
          return b, b
  
      @app.callback(
          [
              Output({"a": ALL}, "children"),
              Output({"b": 1, "c": ALL}, "children"),
          ],
          [Input("b", "children")],
      )
      def z2(b):
          return b, b
  
      dash_duo.start_server(app, **debugging)
  
      specs = [
          [
              "Overlapping wildcard callback outputs",
              [
                  # depending on the order callbacks get reported to the
                  # front end, either of these could have been registered first.
                  # so we use this oder-independent form that just checks for
                  # both prop_id's and the string "overlaps another output"
                  '({"b":1,"c":ALL}.children)',
                  "overlaps another output",
                  '({"b":ALL,"c":1}.children)',
                  "used in a different callback.",
              ],
          ],
          [
              "Overlapping wildcard callback outputs",
              [
                  '({"a":ALL}.children)',
                  "overlaps another output",
                  '({"a":1}.children)',
                  "used in a different callback.",
              ],
          ],
          [
              "Duplicate callback outputs",
              ["Output 0 (b.children) is already in use."],
          ],
          [
              "Duplicate callback outputs",
              ["Output 0 (a.children) is already in use."],
          ],
      ]
      check_errors(dash_duo, specs)
  
imports: import flask
  import pytest
  from dash import Dash, Input, Output, State, MATCH, ALL, ALLSMALLER, html, dcc
  from dash.testing import wait
label_desc: Use image node_id 5 for calling a global function with example usage: test_dvcv004_duplicate_outputs_across_callbacks(dash_duo) and returns: b,  b, b, b, c, b,  b, b,  b