Files
prosody-podman/tests/venv2/lib/python3.11/site-packages/_pytest/assertion/highlight.py
T
2026-08-02 18:57:40 +02:00

12 lines
327 B
Python

from __future__ import annotations
from typing import Literal
def dummy_highlighter(source: str, lexer: Literal["diff", "python"] = "python") -> str:
"""Dummy highlighter that returns the text unprocessed.
Needed for _notin_text, as the diff gets post-processed to only show the "+" part.
"""
return source