Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fb0844bc
Commit
fb0844bc
authored
Feb 05, 2010
by
Michael Foord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding versionadded to test skipping section of unittest documentation.
parent
1f3fa8ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Doc/library/unittest.rst
Doc/library/unittest.rst
+2
-3
No files found.
Doc/library/unittest.rst
View file @
fb0844bc
...
@@ -11,9 +11,6 @@
...
@@ -11,9 +11,6 @@
.. versionadded:: 2.1
.. versionadded:: 2.1
.. versionchanged:: 2.7
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
...
@@ -498,6 +495,8 @@ automatically build :class:`unittest.TestSuite` instances from the existing
...
@@ -498,6 +495,8 @@ automatically build :class:`unittest.TestSuite` instances from the existing
Skipping tests and expected failures
Skipping tests and expected failures
------------------------------------
------------------------------------
.. versionadded:: 2.7
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment