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

michael.foord python-checkins at python.org
Fri Feb 5 22:48:03 CET 2010


Author: michael.foord
Date: Fri Feb  5 22:48:03 2010
New Revision: 78002

Log:
Adding versionadded to the test skipping section of the unittest doc.

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	Fri Feb  5 22:48:03 2010
@@ -9,9 +9,6 @@
 .. sectionauthor:: Raymond Hettinger <python at rcn.com>
 
 
-.. versionchanged:: 3.1
-   Added test :ref:`skipping and expected failures <unittest-skipping>`.
-
 The Python unit testing framework, sometimes referred to as "PyUnit," is a
 Python language version of JUnit, by Kent Beck and Erich Gamma. JUnit is, in
 turn, a Java version of Kent's Smalltalk testing framework.  Each is the de
@@ -493,6 +490,8 @@
 Skipping tests and expected failures
 ------------------------------------
 
+.. versionadded:: 3.1
+
 Unittest supports skipping individual test methods and even whole classes of
 tests.  In addition, it supports marking a test as a "expected failure," a test
 that is broken and will fail, but shouldn't be counted as a failure on a


More information about the Python-checkins mailing list