From b112a41aa305ca16159ab60d916f0fb958db9d51 Mon Sep 17 00:00:00 2001 From: Michael Foord Date: Fri, 5 Feb 2010 23:32:33 +0000 Subject: [PATCH] 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. ........ --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index b4b49116d12..fc09aa0dbf3 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -902,7 +902,7 @@ Test cases do_something() the_exception = cm.exc_value - self.assertEquals(the_exception.error_code, 3) + self.assertEqual(the_exception.error_code, 3) .. versionchanged:: 3.1 Added the ability to use :meth:`assertRaises` as a context manager.