code: def test_alert_untracked_alerts(tmpdir, cwd_tmpdir, tmp_repo, capsys):
      file = "test.py"
      tmpdir.join(file).write("print('hello')\n")
  
      # Run jupytext
      status = jupytext(
          ["--from", ".py", "--to", "ipynb", "--pre-commit-mode", file]
      )
  
      assert status != 0
      assert tmpdir.join("test.ipynb").exists()
  
      out = capsys.readouterr()
      assert "git add test.ipynb" in out.out
  
file_path: jupytext/tests/external/pre_commit/test_pre_commit_mode.py
imports: import os
  import time
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook
  from jupytext import read, write
  from jupytext.cli import get_timestamp, git_timestamp, is_untracked, jupytext
label_desc: Use image node_id 3 for calling a global function with example usage: test_alert_untracked_alerts(tmpdir, cwd_tmpdir, tmp_repo, capsys) without return types