[Python-checkins] r80248 - python/branches/py3k/Doc/library/unittest.rst
ezio.melotti
python-checkins at python.org
Tue Apr 20 11:32:54 CEST 2010
Author: ezio.melotti
Date: Tue Apr 20 11:32:54 2010
New Revision: 80248
Log:
Fix versionadded in unittest.rst.
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 Apr 20 11:32:54 2010
@@ -272,7 +272,7 @@
run. Output during a passing test is discarded. Output is echoed normally
on test fail or error and is added to the failure messages.
-.. versionadded:: 2.7
+.. versionadded:: 3.2
The command line options ``-c``, ``-b`` and ``-f`` where added.
The command line can also be used for test discovery, for running all of the
@@ -284,7 +284,7 @@
Test Discovery
--------------
-.. versionadded:: 2.7
+.. versionadded:: 3.2
Unittest supports simple test discovery. For a project's tests to be
compatible with test discovery they must all be importable from the top level
@@ -765,7 +765,7 @@
Calling this during the a test method or :meth:`setUp` skips the current
test. See :ref:`unittest-skipping` for more information.
- .. versionadded:: 2.7
+ .. versionadded:: 3.1
.. method:: debug()
@@ -920,7 +920,7 @@
a regular expression object or a string containing a regular expression
suitable for use by :func:`re.search`.
- .. versionadded:: 2.7
+ .. versionadded:: 3.2
.. method:: assertIn(first, second, msg=None)
@@ -1563,7 +1563,7 @@
only be echoed onto the real ``sys.stdout`` and ``sys.stderr`` if the test
fails or errors. Any output is also attached to the failure / error message.
- .. versionadded:: 2.7
+ .. versionadded:: 3.2
.. attribute:: failfast
@@ -1571,7 +1571,7 @@
If set to true :meth:`stop` will be called on the first failure or error,
halting the test run.
- .. versionadded:: 2.7
+ .. versionadded:: 3.2
.. method:: wasSuccessful()
More information about the Python-checkins
mailing list