Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8da105e

Browse files
committed
Merged revisions 77888 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r77888 | georg.brandl | 2010-01-31 20:53:23 +0200 (Sun, 31 Jan 2010) | 1 line Fix versionadded:: 2.x merges. ........
1 parent ed244d3 commit 8da105e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/unittest.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ Test cases
993993
If :meth:`setUp` fails, meaning that :meth:`tearDown` is not called,
994994
then any cleanup functions added will still be called.
995995

996-
.. versionadded:: 2.7
996+
.. versionadded:: 3.2
997997

998998

999999
.. method:: doCleanups()
@@ -1009,7 +1009,7 @@ Test cases
10091009
:meth:`doCleanups` pops methods off the stack of cleanup
10101010
functions one at a time, so it can be called at any time.
10111011

1012-
.. versionadded:: 2.7
1012+
.. versionadded:: 3.2
10131013

10141014

10151015
.. class:: FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None)
@@ -1088,7 +1088,7 @@ Grouping tests
10881088
(for example when counting tests or comparing for equality)
10891089
so the tests returned must be the same for repeated iterations.
10901090

1091-
.. versionchanged:: 2.7
1091+
.. versionchanged:: 3.2
10921092
In earlier versions the :class:`TestSuite` accessed tests directly rather
10931093
than through iteration, so overriding :meth:`__iter__` wasn't sufficient
10941094
for providing tests.
@@ -1302,14 +1302,14 @@ Loading and running tests
13021302

13031303
Called once before any tests are executed.
13041304

1305-
.. versionadded:: 2.7
1305+
.. versionadded:: 3.2
13061306

13071307

13081308
.. method:: stopTestRun(test)
13091309

13101310
Called once before any tests are executed.
13111311

1312-
.. versionadded:: 2.7
1312+
.. versionadded:: 3.2
13131313

13141314

13151315
.. method:: addError(test, err)
@@ -1411,5 +1411,5 @@ Loading and running tests
14111411
Calling ``main`` actually returns an instance of the ``TestProgram`` class.
14121412
This stores the result of the tests run as the ``result`` attribute.
14131413

1414-
.. versionchanged:: 2.7
1414+
.. versionchanged:: 3.2
14151415
The ``exit`` parameter was added.

0 commit comments

Comments
 (0)