code: def test_simple_notebook(tmp_directory, nb_literals):
      intr = NotebookIntrospector("nb_literals.ipynb")
  
      assert set(intr) == {"int", "list", "dict"}
      assert intr["int"] == 1
      assert intr["list"] == [1, 2, 3]
      assert intr["dict"] == {"x": 1, "y": 2}
      assert dict(intr) == {
          "int": 1,
          "list": [1, 2, 3],
          "dict": {"x": 1, "y": 2},
      }
  
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 1 for calling a global function with example usage: test_simple_notebook(tmp_directory, nb_literals) without return types