code: def test_check_notebooks_left_or_right_black(
      python_notebook, tmpdir, cwd_tmpdir
  ):
      write(python_notebook, str(tmpdir / "nb1.ipynb"))
      write(python_notebook, str(tmpdir / "nb2.ipynb"))
  
      jupytext(["*.ipynb", "--check", "black --check {}"])
      jupytext(["--check", "black --check {}", "*.ipynb"])
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  from jupytext import write
  from jupytext.cli import jupytext
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_notebooks_left_or_right_black(python_notebook, tmpdir, cwd_tmpdir) without return types