diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-30 09:18:01 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-30 09:18:01 +0200 |
commit | 41182200a35083a0010f95f622a4ce386c5f0518 (patch) | |
tree | 8476e32173b842fa510102e47e44712f986249cf /lib/testtools/MANUAL | |
parent | 1a9f5b45f80030c63dbd5616c6de1e99cbf539c5 (diff) | |
download | samba-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/MANUAL | 5 |
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 ~~~~~~~~~~~~~~~~~~~~~~~ |