code: def test_ambiguous():
      assert not ambiguous([A], [A])
      assert not ambiguous([A], [B])
      assert not ambiguous([B], [B])
      assert not ambiguous([A, B], [B, B])
      assert ambiguous([A, B], [B, A])
  
file_path: sympy/sympy/multipledispatch/tests/test_conflict.py
imports: from sympy.multipledispatch.conflict import supercedes, ordering, ambiguities, ambiguous, super_signature, consistent
label_desc: Use image node_id 4 for calling a global function with example usage: test_ambiguous() without return types