code: def test_notebook_with_invalid_output(
      tmp_directory, nb_invalid_output
  ):
      intr = NotebookIntrospector(nb_invalid_output, literal_eval=True)
      assert intr["numpy_array"] == "array([1, 2, 3])"
  
file_path: sklearn-evaluation/tests/nb/test_NotebookIntrospector.py
imports: from sklearn_evaluation import NotebookIntrospector
  from IPython.display import HTML, Image
label_desc: Use image node_id 5 for calling a global function with example usage: test_notebook_with_invalid_output(tmp_directory, nb_invalid_output) without return types