← Files AgentBrokoARCHIVED FILE
.venv/Lib/site-packages/_pytest/assertion/_typing.py
338 Bytes · Sep 30, 2026 · 23:15 UTC
from __future__ import annotations
from typing import Literal
from typing import Protocol
_AssertionTextDiffStyle = Literal["ndiff", "block"]
class _HighlightFunc(Protocol): # noqa: PYI046
def __call__(self, source: str, lexer: Literal["diff", "python"] = "python") -> str:
"""Apply highlighting to the given source."""
SHA-256: f62ce7a05b0aa7ce3b818d62aad74bfd3848519ad80403daf0def63b774da568