code: def test_adjacent_regions(
      script="""# region global
  # region innermost
  a = 1
  
  b = 2
  # endregion
  # endregion
  """,
  ):
      nb = jupytext.reads(script, "py")
      assert len(nb.cells) == 3
      assert nb.cells[0].cell_type == "code"
      assert nb.cells[0].source == "# region global"
      assert nb.cells[1].cell_type == "code"
      assert nb.cells[1].source == "a = 1\n\nb = 2"
      assert nb.cells[2].cell_type == "code"
      assert nb.cells[2].source == "# endregion"
  
      script2 = jupytext.writes(nb, "py")
      compare(script2, script)
  
imports: import jupytext
  from jupytext.compare import compare
label_desc: Use image node_id 4 for calling a global function with example usage: test_adjacent_regions(script) without return types