code: def test_dvcv003_duplicate_outputs_same_callback(dash_duo):
      app = Dash(__name__)
      app.layout = html.Div([html.Div(id="a"), html.Div(id="b")])
  
      @app.callback(
          [Output("a", "children"), Output("a", "children")],
          [Input("b", "children")],
      )
      def x(b):
          return b, b
  
      @app.callback(
          [
              Output({"a": 1}, "children"),
              Output({"a": ALL}, "children"),
          ],
          [Input("b", "children")],
      )
      def y(b):
          return b, b
  
      dash_duo.start_server(app, **debugging)
  
      specs = [
          [
              "Overlapping wildcard callback outputs",
              [
                  'Output 1 ({"a":ALL}.children)',
                  'overlaps another output ({"a":1}.children)',
                  "used in this callback",
              ],
          ],
          [
              "Duplicate callback Outputs",
              [
                  "Output 1 (a.children) is already used by this callback."
              ],
          ],
      ]
      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 4 for calling a global function with example usage: test_dvcv003_duplicate_outputs_same_callback(dash_duo) and returns: b,  b, b,  b