summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-02 22:46:42 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-02 22:46:42 (GMT)
commitc412617779c6847f3f0992ad978657a242336fd3 (patch)
tree8356c995ca45e6b4e6a672e42c62bfb04f690468 /Doc
parent387c8b5f37278c969fe8bf24291de57a62ec6422 (diff)
downloadcpython-c412617779c6847f3f0992ad978657a242336fd3.zip
cpython-c412617779c6847f3f0992ad978657a242336fd3.tar.gz
cpython-c412617779c6847f3f0992ad978657a242336fd3.tar.bz2
Add annotations that describe the change in the "errors" and "failures"
attributes of the TestResult.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libunittest.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libunittest.tex b/Doc/lib/libunittest.tex
index e2ce91a..980d706 100644
--- a/Doc/lib/libunittest.tex
+++ b/Doc/lib/libunittest.tex
@@ -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
formatted tracebacks for tests which raised an exception but did not
signal a test failure.
+ \versionchanged[Contains formatted tracebacks instead of
+ \function{sys.exc_info()} results]{2.2}
\end{memberdesc}
\begin{memberdesc}[TestResult]{failures}
A list containing pairs of \class{TestCase} instances and the
formatted tracebacks for tests which signalled a failure in the code
under test.
+ \versionchanged[Contains formatted tracebacks instead of
+ \function{sys.exc_info()} results]{2.2}
\end{memberdesc}
\begin{memberdesc}[TestResult]{testsRun}