From 41182200a35083a0010f95f622a4ce386c5f0518 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 30 Sep 2010 09:18:01 +0200 Subject: testtools: Import new upstream snapshot. --- lib/testtools/MANUAL | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/testtools/MANUAL') 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 ~~~~~~~~~~~~~~~~~~~~~~~ -- cgit