code: def test_write_non_ascii(tmpdir):
      nb = jupytext.reads("Non-ascii contênt", "Rmd")
      jupytext.write(nb, str(tmpdir.join("notebook.Rmd")))
      jupytext.write(nb, str(tmpdir.join("notebook.ipynb")))
  
file_path: jupytext/tests/functional/others/test_unicode.py
imports: from nbformat.v4.nbbase import new_markdown_cell, new_notebook
  import jupytext
  from jupytext.compare import compare
label_desc: Use image node_id 3 for calling a global function with example usage: test_write_non_ascii(tmpdir) without return types