]> granicus.if.org Git - python/commitdiff
fix some versionchanged and versionadded directives
authorBenjamin Peterson <benjamin@python.org>
Tue, 24 Mar 2009 01:00:11 +0000 (01:00 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 24 Mar 2009 01:00:11 +0000 (01:00 +0000)
Doc/library/unittest.rst

index 4f10c408601123a7dcd8c45b34b3e611a8075d17..22bf7f37518d7eda7daaf564c6c0e11a0985dbe0 100644 (file)
@@ -620,6 +620,7 @@ Test cases
       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 @@ Test cases
       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 @@ Test cases
 
 .. _testsuite-objects:
 
-
 Grouping tests
 ~~~~~~~~~~~~~~
 
@@ -934,10 +934,6 @@ Loading and running tests
       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 @@ Loading and running tests
       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