mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Adding versionadded to the test skipping section of the unittest doc.
This commit is contained in:
parent
41531f2e19
commit
f5c851aa04
1 changed files with 2 additions and 3 deletions
|
|
@ -9,9 +9,6 @@
|
||||||
.. sectionauthor:: Raymond Hettinger <python@rcn.com>
|
.. 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
|
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
|
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
|
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
|
Skipping tests and expected failures
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
|
.. versionadded:: 3.1
|
||||||
|
|
||||||
Unittest supports skipping individual test methods and even whole classes of
|
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
|
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
|
that is broken and will fail, but shouldn't be counted as a failure on a
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue