code: def test_run_pytest_ok(
      tmpdir,
      text="""This is a notebook with a test that is supposed to pass
  ```python
  def test_ok():
      assert True
  ```
  """,
  ):
      tmp_md = str(tmpdir.join("notebook.md"))
      with open(tmp_md, "w") as fp:
          fp.write(text)
      jupytext([tmp_md, "--check", "pytest"])
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_run_pytest_ok(tmpdir, text) without return types