code: def test_duplicate_signature():
      # Duplicate function signatures occur e.g. in ufuncs, when the
      # automatic mechanism adds one, and a more detailed comes from the
      # docstring itself.
  
      doc = NumpyDocString(
          """
      z(x1, x2)
  
      z(a, theta)
      """
      )
  
      assert doc["Signature"].strip() == "z(a, theta)"
  
imports: import sys, textwrap
  from numpydoc.docscrape import NumpyDocString, FunctionDoc, ClassDoc
  from numpydoc.docscrape_sphinx import SphinxDocString, SphinxClassDoc
  from nose.tools import *
label_desc: Use image node_id 26 for calling a global function with example usage: test_duplicate_signature() without return types