Commits

Anonymous committed e9dbbcd

Minor doc change.

Comments (0)

Files changed (1)

Doc/library/unittest.rst

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