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
70e32c83
Commit
70e32c83
authored
Mar 24, 2009
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some versionchanged and versionadded directives
parent
52baa290
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
Doc/library/unittest.rst
Doc/library/unittest.rst
+3
-11
No files found.
Doc/library/unittest.rst
View file @
70e32c83
...
...
@@ -620,6 +620,7 @@ Test cases
default value for *msg* can be computed to include representations of both
*first* and *second*.
.. method:: assertAlmostEqual(first, second[, places[, msg]])
failUnlessAlmostEqual(first, second[, places[, msg]])
...
...
@@ -656,7 +657,7 @@ Test cases
To catch any of a group of exceptions, a tuple containing the exception
classes may be passed as *exception*.
.. versionchanged::
2.7
.. versionchanged::
3.1
If *callable* is omitted or None, returns a context manager so that the
code under test can be written inline rather than as a function::
...
...
@@ -732,7 +733,6 @@ Test cases
.. _testsuite-objects:
Grouping tests
~~~~~~~~~~~~~~
...
...
@@ -934,10 +934,6 @@ Loading and running tests
holding formatted tracebacks. Each tuple represents a test which raised an
unexpected exception.
.. versionchanged:: 2.2
Contains formatted tracebacks instead of :func:`sys.exc_info` results.
.. attribute:: failures
...
...
@@ -946,16 +942,12 @@ Loading and running tests
was explicitly signalled using the :meth:`TestCase.fail\*` or
:meth:`TestCase.assert\*` methods.
.. versionchanged:: 2.2
Contains formatted tracebacks instead of :func:`sys.exc_info` results.
.. attribute:: skipped
A list containing 2-tuples of :class:`TestCase` instances and strings
holding the reason for skipping the test.
.. versionadded::
2.7
.. versionadded::
3.1
.. attribute:: expectedFailures
...
...
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