cpython: 6e3551d37b03 (original) (raw)

Mercurial > cpython

changeset 68347:6e3551d37b03 3.2

Port a couple of changes from 3.1.

Ezio Melotti ezio.melotti@gmail.com
date Thu, 10 Mar 2011 13:46:50 +0200
parents 605c74139754(current diff)cb3a925de1bd(diff)
children 3599798bcbd2 0c595f4bbfc8
files Doc/library/unittest.rst
diffstat 1 files changed, 5 insertions(+), 5 deletions(-)[+] [-] Doc/library/unittest.rst 10

line wrap: on

line diff

--- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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.

.. 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.

.. class:: FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None) @@ -1801,14 +1801,14 @@ Loading and running tests Called once before any tests are executed.

.. method:: stopTestRun(test) Called once after all tests are executed.

.. method:: addError(test, err) @@ -1922,7 +1922,7 @@ Loading and running tests .. function:: main(module='main', defaultTest=None, argv=None, testRunner=None, [](#l1.41)

A command-line program that runs a set of tests; this is primarily for making