test_time: assertEquals => assertEqual

This commit is contained in:
Victor Stinner 2011-01-05 03:58:54 +00:00
parent 8786d3d0dc
commit b996f740f2
1 changed files with 1 additions and 1 deletions

View 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")