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
a2087d0a
Commit
a2087d0a
authored
Mar 10, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
Merge from 3.2.
parents
d2dee34a
40dcb1d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Doc/library/unittest.rst
Doc/library/unittest.rst
+5
-5
No files found.
Doc/library/unittest.rst
View file @
a2087d0a
...
...
@@ -1408,7 +1408,7 @@ Test cases
If :meth:`setUp` fails, meaning that :meth:`tearDown` is not called,
then any cleanup functions added will still be called.
.. versionadded:: 3.
2
.. versionadded:: 3.
1
.. method:: doCleanups()
...
...
@@ -1424,7 +1424,7 @@ Test cases
:meth:`doCleanups` pops methods off the stack of cleanup
functions one at a time, so it can be called at any time.
.. versionadded:: 3.
2
.. versionadded:: 3.
1
.. class:: FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None)
...
...
@@ -1801,14 +1801,14 @@ Loading and running tests
Called once before any tests are executed.
.. versionadded:: 3.
2
.. versionadded:: 3.
1
.. method:: stopTestRun(test)
Called once after all tests are executed.
.. versionadded:: 3.
2
.. versionadded:: 3.
1
.. method:: addError(test, err)
...
...
@@ -1922,7 +1922,7 @@ Loading and running tests
.. function:: main(module='__main__', defaultTest=None, argv=None, testRunner=None, \
testLoader=unittest.
loader.
defaultTestLoader, exit=True, verbosity=1, \
testLoader=unittest.defaultTestLoader, exit=True, verbosity=1, \
failfast=None, catchbreak=None, buffer=None, warnings=None)
A command-line program that runs a set of tests; this is primarily for making
...
...
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