code: def test_read_inventory_v2_not_having_version():
      f = BytesIO(inventory_v2_not_having_version)
      invdata = InventoryFile.load(f, "/util", posixpath.join)
      assert invdata["py:module"]["module1"] == (
          "foo",
          "",
          "/util/foo.html#module-module1",
          "Long Module desc",
      )
  
file_path: sphinx/tests/test_util/test_util_inventory.py
imports: import os
  import posixpath
  import zlib
  from io import BytesIO
  import sphinx.locale
  from sphinx.testing.util import SphinxTestApp
  from sphinx.util.inventory import InventoryFile
label_desc: Use image node_id 3 for calling a global function with example usage: test_read_inventory_v2_not_having_version() without return types