code: def test_meaningfull_error_when_pandoc_is_missing(tmpdir):
      nb_file = tmpdir.join("notebook.ipynb")
      jupytext.write(new_notebook(), str(nb_file))
  
      with pytest.raises(
          PandocError,
          match="The Pandoc Markdown format requires 'pandoc>=2.7.2'",
      ):
          jupytext_cli([str(nb_file), "--to", "md:pandoc"])
  
file_path: jupytext/tests/external/simple_external_notebooks/test_read_simple_pandoc.py
imports: import pytest
  from nbformat.v4.nbbase import new_markdown_cell, new_notebook
  import jupytext
  from jupytext.cli import jupytext
  from jupytext.compare import compare, compare_notebooks
  from jupytext.pandoc import PandocError
label_desc: Use image node_id 5 for calling a global function with example usage: test_meaningfull_error_when_pandoc_is_missing(tmpdir) without return types