]> granicus.if.org Git - python/commitdiff
Adding versionadded to several new functions in unittest documentation.
authorMichael Foord <fuzzyman@voidspace.org.uk>
Mon, 26 Apr 2010 23:41:26 +0000 (23:41 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Mon, 26 Apr 2010 23:41:26 +0000 (23:41 +0000)
Doc/library/unittest.rst

index f18dee400e32bb9c08a9a4a8c0f56996771c778b..7dc85954b61f48d339f11962c37fb2e2a336e1aa 100644 (file)
@@ -1888,6 +1888,8 @@ handling functionality within test frameworks.
    (usually in response to the user pressing control-c) all registered results
    have :meth:`~TestResult.stop` called.
 
+   .. versionadded:: 3.2
+
 .. function:: registerResult(result)
 
    Register a :class:`TestResult` object for control-c handling. Registering a
@@ -1898,12 +1900,16 @@ handling functionality within test frameworks.
    handling is not enabled, so test frameworks can unconditionally register
    all results they create independently of whether or not handling is enabled.
 
+   .. versionadded:: 3.2
+
 .. function:: removeResult(result)
 
    Remove a registered result. Once a result has been removed then
    :meth:`~TestResult.stop` will no longer be called on that result object in
    response to a control-c.
 
+   .. versionadded:: 3.2
+
 .. function:: removeHandler(function=None)
 
    When called without arguments this function removes the control-c handler
@@ -1914,3 +1920,5 @@ handling functionality within test frameworks.
       def test_signal_handling(self):
           ...
 
+   .. versionadded:: 3.2
+