diff --git a/src/_pytest/_code/code.py b/src/_pytest/_code/code.py index 032b83beb..6fd1100df 100644 --- a/src/_pytest/_code/code.py +++ b/src/_pytest/_code/code.py @@ -476,10 +476,6 @@ class ExceptionInfo(Generic[E]): ) -> "ExceptionInfo[E]": """Return an ExceptionInfo for an existing exc_info tuple. - .. warning:: - - Experimental API - :param exprinfo: A text string helping to determine if we should strip ``AssertionError`` from the output. Defaults to the exception