code: def non_blank_line_by_line_compare(a, b):
      a = textwrap.dedent(a)
      b = textwrap.dedent(b)
      a = [l.rstrip() for l in a.split("\n") if l.strip()]
      b = [l.rstrip() for l in b.split("\n") if l.strip()]
      for n, line in enumerate(a):
          if not line == b[n]:
              raise AssertionError(
                  "Lines %s of a and b differ: "
                  "\n>>> %s\n<<< %s\n" % (n, line, b[n])
              )
  
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 11 for calling a global function with example usage: non_blank_line_by_line_compare(a, b) without return types