From 676161a850e05d209bca1af02e94417db07e4f87 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 10 Oct 2009 21:27:03 +0000 Subject: Rolled back revisions 74556 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk --- Doc/library/unittest.rst | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Doc') diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index aa763086bf..984ec272da 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -891,10 +891,6 @@ Test cases with self.failUnlessRaises(some_error_class): do_something() - The context manager will store the caught exception object in its - :attr:`exc_value` attribute. This can be useful if the intention - is to perform additional checks on the exception raised. - .. versionchanged:: 3.1 Added the ability to use :meth:`assertRaises` as a context manager. -- cgit v1.2.1