code: def test_notebook_no_line_to_next_cell(
      nb=new_notebook(
          cells=[
              new_markdown_cell("Markdown cell #1"),
              new_code_cell("%load_ext line_profiler"),
              new_markdown_cell("Markdown cell #2"),
              new_code_cell("%lprun -f ..."),
              new_markdown_cell("Markdown cell #3"),
              new_code_cell(
                  "# And a function!\n" "def f(x):\n" "    return 5"
              ),
          ]
      )
  ):
      script = jupytext.writes(nb, "py")
      nb2 = jupytext.reads(script, "py")
      nb2.metadata.pop("jupytext")
  
      compare_notebooks(nb2, nb)
  
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 28 for calling a global function with example usage: test_notebook_no_line_to_next_cell(nb) without return types