code: def test_LiteralIncludeReader_pyobject2(literal_inc_path):
      options = {"pyobject": "Bar"}
      reader = LiteralIncludeReader(
          literal_inc_path, options, DUMMY_CONFIG
      )
      content, lines = reader.read()
      assert content == (
          "class Bar:\n" "    def baz():\n" "        pass\n"
      )
      assert reader.lineno_start == 1
  
imports: import os.path
  import pytest
  from docutils import nodes
  from sphinx.config import Config
  from sphinx.directives.code import LiteralIncludeReader
  from sphinx.testing.util import etree_parse
label_desc: Use image node_id 6 for calling a global function with example usage: test_LiteralIncludeReader_pyobject2(literal_inc_path) without return types