]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Adding versionadded to the test skipping section of the unittest doc.
authorMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 21:48:03 +0000 (21:48 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 21:48:03 +0000 (21:48 +0000)
Doc/library/unittest.rst

index 3f7680b5a532a92eed74ade3aa4e8fcd095de21e..b4b49116d1266a2f216066afe18947694eb5c17e 100644 (file)
@@ -9,9 +9,6 @@
 .. sectionauthor:: Raymond Hettinger <python@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 @@ automatically build :class:`unittest.TestSuite` instances from the existing
 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