code: def test_indented_comment(
      text="""def f():
      return 1
  
      # f returns 1
  
  
  def g():
      return 2
  
  
  # h returns 3
  def h():
      return 3
  """,
      ref=new_notebook(
          cells=[
              new_code_cell(
                  """def f():
      return 1
  
      # f returns 1"""
              ),
              new_code_cell("def g():\n    return 2"),
              new_code_cell("# h returns 3\ndef h():\n    return 3"),
          ]
      ),
  ):
      nb = jupytext.reads(text, "py")
      compare_notebooks(nb, ref)
      py = jupytext.writes(nb, "py")
      compare(py, text)
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_raw_cell
  import jupytext
  from jupytext.compare import compare, compare_notebooks
label_desc: Use image node_id 3 for calling a global function with example usage: test_indented_comment(text, ref) without return types