code: def test_no_space_after_code(
      pynb="""# -*- coding: utf-8 -*-
  # Markdown cell
  
  def f(x):
      return x+1
  
  # And a new cell, and non ascii contênt
  """,
  ):
      nb = jupytext.reads(pynb, "py")
  
      assert len(nb.cells) == 3
      assert nb.cells[0].cell_type == "markdown"
      assert nb.cells[0].source == "Markdown cell"
      assert nb.cells[1].cell_type == "code"
      assert nb.cells[1].source == "def f(x):\n    return x+1"
      assert nb.cells[2].cell_type == "markdown"
      assert (
          nb.cells[2].source == "And a new cell, and non ascii contênt"
      )
  
      pynb2 = jupytext.writes(nb, "py")
      compare(pynb2, pynb)
  
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 21 for calling a global function with example usage: test_no_space_after_code(pynb) without return types