code: def test_pairing_through_config_leaves_ipynb_unmodified(tmpdir):
      cfg_file = tmpdir.join(".jupytext.yml")
      nb_file = tmpdir.join("notebook.ipynb")
      py_file = tmpdir.join("notebook.py")
  
      cfg_file.write("formats: 'ipynb,py'\n")
      nbformat.write(new_notebook(), str(nb_file))
  
      jupytext([str(nb_file), "--sync"])
  
      assert nb_file.isfile()
      assert py_file.isfile()
  
      nb = nbformat.read(nb_file, as_version=4)
      assert "jupytext" not in nb.metadata
  
file_path: jupytext/tests/functional/cli/test_cli_config.py
imports: import nbformat
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  from jupytext.cli import jupytext
  from jupytext.compare import compare
  from jupytext.header import header_to_metadata_and_cell
  from jupytext.jupytext import read, write
label_desc: Use image node_id 1 for calling a global function with example usage: test_pairing_through_config_leaves_ipynb_unmodified(tmpdir) without return types