1. Armin Rigo
  2. cpython-withatomic

Commits

Michael Foord  committed e9dbbcd

Minor doc change.

  • Participants
  • Parent commits a13e8d1
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Doc/library/unittest.rst

View file
             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.