code: def test_extract_intro():
      result = sg.extract_intro("<string>", "\n".join(CONTENT[1:9]))
      assert "Docstring" not in result
      assert (
          result
          == "This is the description of the example which goes on and on, Óscar"
      )  # noqa
      assert "second paragraph" not in result
  
imports: from __future__ import division, absolute_import, print_function, unicode_literals
  import ast
  import codecs
  import copy
  import logging
  import tempfile
  import re
  import os
  import shutil
  import zipfile
  import pytest
  import sphinx_gallery.gen_rst
  from sphinx_gallery import gen_gallery, downloads
  from sphinx_gallery.gen_gallery import generate_dir_rst
  from sphinx_gallery import sphinx_compatibility
  import matplotlib.pyplot
label_desc: Use image node_id 5 for calling a global function with example usage: test_extract_intro() without return types