code: def pytest_terminal_summary(terminalreporter):
      if terminalreporter.stats.get(
          "error", None
      ) or terminalreporter.stats.get("failed", None):
          terminalreporter.write_sep(
              " ", "DO *NOT* COMMIT!", red=True, bold=True
          )
  
file_path: sympy/sympy/conftest.py
imports: import sys
  from sympy.external.importtools import version_tuple
  import pytest
  from sympy.core.cache import clear_cache, USE_CACHE
  from sympy.external.gmpy import GROUND_TYPES
  from sympy.utilities.misc import ARCH
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_terminal_summary(terminalreporter) without return types