[Python-checkins] r70573 - python/branches/py3k/Doc/library/unittest.rst
benjamin.peterson
python-checkins at python.org
Tue Mar 24 02:00:11 CET 2009
Author: benjamin.peterson
Date: Tue Mar 24 02:00:11 2009
New Revision: 70573
Log:
fix some versionchanged and versionadded directives
Modified:
python/branches/py3k/Doc/library/unittest.rst
Modified: python/branches/py3k/Doc/library/unittest.rst
==============================================================================
--- python/branches/py3k/Doc/library/unittest.rst (original)
+++ python/branches/py3k/Doc/library/unittest.rst Tue Mar 24 02:00:11 2009
@@ -620,6 +620,7 @@
default value for *msg* can be computed to include representations of both
*first* and *second*.
+
.. method:: assertAlmostEqual(first, second[, places[, msg]])
failUnlessAlmostEqual(first, second[, places[, msg]])
@@ -656,7 +657,7 @@
To catch any of a group of exceptions, a tuple containing the exception
classes may be passed as *exception*.
- .. versionchanged:: 2.7
+ .. versionchanged:: 3.1
If *callable* is omitted or None, returns a context manager so that the
code under test can be written inline rather than as a function::
@@ -732,7 +733,6 @@
.. _testsuite-objects:
-
Grouping tests
~~~~~~~~~~~~~~
@@ -934,10 +934,6 @@
holding formatted tracebacks. Each tuple represents a test which raised an
unexpected exception.
- .. versionchanged:: 2.2
-
- Contains formatted tracebacks instead of :func:`sys.exc_info` results.
-
.. attribute:: failures
@@ -946,16 +942,12 @@
was explicitly signalled using the :meth:`TestCase.fail\*` or
:meth:`TestCase.assert\*` methods.
- .. versionchanged:: 2.2
-
- Contains formatted tracebacks instead of :func:`sys.exc_info` results.
-
.. attribute:: skipped
A list containing 2-tuples of :class:`TestCase` instances and strings
holding the reason for skipping the test.
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
.. attribute:: expectedFailures
More information about the Python-checkins
mailing list