code: def test_code_block_highlighted(app, status, warning):
      app.build(filenames=[app.srcdir / "highlight.rst"])
      doctree = app.env.get_doctree("highlight")
      codeblocks = list(doctree.findall(nodes.literal_block))
  
      assert codeblocks[0]["language"] == "default"
      assert codeblocks[1]["language"] == "python2"
      assert codeblocks[2]["language"] == "python3"
      assert codeblocks[3]["language"] == "python2"
  
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 41 for calling a global function with example usage: test_code_block_highlighted(app, status, warning) without return types