]> granicus.if.org Git - python/commitdiff
Minor doc change.
authorMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:28:12 +0000 (23:28 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Fri, 5 Feb 2010 23:28:12 +0000 (23:28 +0000)
Doc/library/unittest.rst

index 762f0ce59454db8d63a01d9f456b02a97928f88e..fccd6efbfdbda528b25d8f90ddd07cc505de93f0 100644 (file)
@@ -905,7 +905,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:: 2.7
          Added the ability to use :meth:`assertRaises` as a context manager.