[Python-checkins] r80520 - in python/branches/py3k: Doc/library/unittest.rst

michael.foord python-checkins at python.org
Tue Apr 27 01:41:27 CEST 2010


Author: michael.foord
Date: Tue Apr 27 01:41:26 2010
New Revision: 80520

Log:
Adding versionadded to several new functions in unittest documentation.

Modified:
   python/branches/py3k/   (props changed)
   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 Apr 27 01:41:26 2010
@@ -1888,6 +1888,8 @@
    (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 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 @@
       def test_signal_handling(self):
           ...
 
+   .. versionadded:: 3.2
+


More information about the Python-checkins mailing list