mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Add annotations that describe the change in the "errors" and "failures"
attributes of the TestResult.
This commit is contained in:
parent
387c8b5f37
commit
c412617779
1 changed files with 4 additions and 0 deletions
|
|
@ -619,12 +619,16 @@ be of interest when inspecting the results of running a set of tests:
|
||||||
A list containing pairs of \class{TestCase} instances and the
|
A list containing pairs of \class{TestCase} instances and the
|
||||||
formatted tracebacks for tests which raised an exception but did not
|
formatted tracebacks for tests which raised an exception but did not
|
||||||
signal a test failure.
|
signal a test failure.
|
||||||
|
\versionchanged[Contains formatted tracebacks instead of
|
||||||
|
\function{sys.exc_info()} results]{2.2}
|
||||||
\end{memberdesc}
|
\end{memberdesc}
|
||||||
|
|
||||||
\begin{memberdesc}[TestResult]{failures}
|
\begin{memberdesc}[TestResult]{failures}
|
||||||
A list containing pairs of \class{TestCase} instances and the
|
A list containing pairs of \class{TestCase} instances and the
|
||||||
formatted tracebacks for tests which signalled a failure in the code
|
formatted tracebacks for tests which signalled a failure in the code
|
||||||
under test.
|
under test.
|
||||||
|
\versionchanged[Contains formatted tracebacks instead of
|
||||||
|
\function{sys.exc_info()} results]{2.2}
|
||||||
\end{memberdesc}
|
\end{memberdesc}
|
||||||
|
|
||||||
\begin{memberdesc}[TestResult]{testsRun}
|
\begin{memberdesc}[TestResult]{testsRun}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue