summaryrefslogtreecommitdiff
path: root/lib/testtools/MANUAL
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-30 09:18:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-30 09:18:01 +0200
commit41182200a35083a0010f95f622a4ce386c5f0518 (patch)
tree8476e32173b842fa510102e47e44712f986249cf /lib/testtools/MANUAL
parent1a9f5b45f80030c63dbd5616c6de1e99cbf539c5 (diff)
downloadsamba-41182200a35083a0010f95f622a4ce386c5f0518.tar.gz
samba-41182200a35083a0010f95f622a4ce386c5f0518.tar.bz2
samba-41182200a35083a0010f95f622a4ce386c5f0518.zip
testtools: Import new upstream snapshot.
Diffstat (limited to 'lib/testtools/MANUAL')
-rw-r--r--lib/testtools/MANUAL5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/testtools/MANUAL b/lib/testtools/MANUAL
index db213669c9..1a43e70f23 100644
--- a/lib/testtools/MANUAL
+++ b/lib/testtools/MANUAL
@@ -42,6 +42,11 @@ logic in a try/finally block or tearDown method. e.g.::
self.addCleanup(foo.unlock)
...
+Cleanups can also report multiple errors, if appropriate by wrapping them in
+a testtools.MultipleExceptions object::
+
+ raise MultipleExceptions(exc_info1, exc_info2)
+
TestCase.addOnException
~~~~~~~~~~~~~~~~~~~~~~~