code: def test_warns():
      assert_equal(len(doc5["Warns"]), 1)
      name, _, desc = doc5["Warns"][0]
      assert_equal(name, "SomeWarning")
      assert_equal(desc, ["If needed"])
  
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 18 for calling a global function with example usage: test_warns() without return types