code: def _compare_docs(old_func, new_func):
      old_doc = inspect.getdoc(old_func)
      new_doc = inspect.getdoc(new_func)
      index = new_doc.index("\n\n") + 2
      assert_equal(new_doc[index:], old_doc)
  
imports: import inspect
  import sys
  import pytest
  import numpy
  from numpy.core import arange
  from numpy.testing import assert_, assert_equal, assert_raises_regex
  from numpy.lib import deprecate, deprecate_with_doc
  import numpy.lib.utils
  from io import StringIO
label_desc: Use image node_id 14 for calling a global function with example usage: _compare_docs(old_func, new_func) without return types