Estructura inicial funcional con documentación en el README.md de la FastAPI
This commit is contained in:
11
env/lib/python3.12/site-packages/_pytest/assertion/highlight.py
vendored
Normal file
11
env/lib/python3.12/site-packages/_pytest/assertion/highlight.py
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user