]> granicus.if.org Git - python/commitdiff
test_time: assertEquals => assertEqual
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 03:58:54 +0000 (03:58 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 03:58:54 +0000 (03:58 +0000)
Lib/test/test_time.py

index 6eb0953a4885e2bbe866bccebb777fc587430e28..d6de54b36d8a21ad8061aaff59859f687b76351e 100644 (file)
@@ -147,7 +147,7 @@ class TimeTestCase(unittest.TestCase):
             # on some platforms.
             pass
         else:
-            self.assertEquals(time.ctime(bigval)[-5:], '10000')
+            self.assertEqual(time.ctime(bigval)[-5:], '10000')
 
     @unittest.skipIf(not hasattr(time, "tzset"),
         "time module has no attribute tzset")