code: def test_cell_markers_in_contents_manager(tmpdir):
      tmp_ipynb = tmpdir / "notebook.ipynb"
      tmp_py = tmpdir / "notebook.py"
  
      cm = jupytext.TextFileContentsManager()
      cm.root_dir = str(tmpdir)
      cm.cell_markers = "'''"
  
      nb = new_notebook(
          cells=[
              new_code_cell("1 + 1"),
              new_markdown_cell("a\nlong\ncell"),
          ],
          metadata={
              "jupytext": {
                  "formats": "ipynb,py:percent",
                  "notebook_metadata_filter": "-all",
              }
          },
      )
      cm.save(model=notebook_model(nb), path="notebook.ipynb")
  
      assert os.path.isfile(tmp_ipynb)
      assert os.path.isfile(tmp_py)
  
      with open(tmp_py) as fp:
          text = fp.read()
  
      compare(
          text,
          """# %%
  1 + 1
  
  # %% [markdown]
  '''
  a
  long
  cell
  '''
  """,
      )
  
      nb2 = jupytext.read(tmp_py)
      compare_notebooks(nb, nb2)
  
imports: import os
  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, notebook_model
label_desc: Use image node_id 18 for calling a global function with example usage: test_cell_markers_in_contents_manager(tmpdir) without return types