Merged revisions 78007 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line

  Minor doc change.
........
This commit is contained in:
Michael Foord 2010-02-05 23:32:33 +00:00
parent b57ac6dc05
commit b112a41aa3

View File

@ -902,7 +902,7 @@ Test cases
do_something() do_something()
the_exception = cm.exc_value the_exception = cm.exc_value
self.assertEquals(the_exception.error_code, 3) self.assertEqual(the_exception.error_code, 3)
.. versionchanged:: 3.1 .. versionchanged:: 3.1
Added the ability to use :meth:`assertRaises` as a context manager. Added the ability to use :meth:`assertRaises` as a context manager.