test_time: assertEquals => assertEqual
This commit is contained in:
parent
8786d3d0dc
commit
b996f740f2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue