code: def test_missing_file():
      """User passes non existing file, should fail with FileNotFoundError"""
      with pytest.raises(FileNotFoundError) as excinfo:
          python_to_jupyter_cli(["nofile.py"])
      excinfo.match(r"No such file or directory.+nofile\.py")
  
file_path: tensorly/doc/sphinx_ext/sphinx_gallery/tests/test_notebook.py
imports: from __future__ import division, absolute_import, print_function
  import json
  import tempfile
  import os
  import pytest
  import sphinx_gallery.gen_rst
  from sphinx_gallery.notebook import rst2md, jupyter_notebook, save_notebook, python_to_jupyter_cli
label_desc: Use image node_id 5 for calling a global function with example usage: test_missing_file() without return types