diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-05 21:48:03 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-02-05 21:48:03 (GMT) |
commit | f5c851aa0405ff6442ed348720bc8949327eacd5 (patch) | |
tree | 75cdb769ebc5a22a709bc3dac8482c28734b5778 | |
parent | 41531f2e19eeb0803650e6a44576f0b5eafb2c2b (diff) | |
download | cpython-f5c851aa0405ff6442ed348720bc8949327eacd5.zip cpython-f5c851aa0405ff6442ed348720bc8949327eacd5.tar.gz cpython-f5c851aa0405ff6442ed348720bc8949327eacd5.tar.bz2 |
Adding versionadded to the test skipping section of the unittest doc.
-rw-r--r-- | Doc/library/unittest.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3f7680b..b4b4911 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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 |