Kaydet (Commit) b996f740 authored tarafından Victor Stinner's avatar Victor Stinner

test_time: assertEquals => assertEqual

üst 8786d3d0
...@@ -147,7 +147,7 @@ class TimeTestCase(unittest.TestCase): ...@@ -147,7 +147,7 @@ class TimeTestCase(unittest.TestCase):
# on some platforms. # on some platforms.
pass pass
else: else:
self.assertEquals(time.ctime(bigval)[-5:], '10000') self.assertEqual(time.ctime(bigval)[-5:], '10000')
@unittest.skipIf(not hasattr(time, "tzset"), @unittest.skipIf(not hasattr(time, "tzset"),
"time module has no attribute tzset") "time module has no attribute tzset")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment