"""Fix the bad backslash escape in heuristic A tests."""
from __future__ import annotations
from pathlib import Path

p = Path("tests/test_audit_exception_handling_heuristics.py")
content = p.read_text(encoding="utf-8")

# Replace bad backslash-escaped triple-quotes
content = content.replace(r"\'\'\'", "'''")

p.write_text(content, encoding="utf-8")
print("ok")
