diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-15 19:41:57 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-11-15 19:41:57 -0500 |
| commit | 6f87a08aa70887026f92694ab1bfb9bccf0d7504 (patch) | |
| tree | 2b2fbca8b5cf2263487c51c1cf9e6d9179444d92 /Lib/test/test_strftime.py | |
| parent | e9f0311a0fdfb93a0a1b18426a9d7a7903a5ce38 (diff) | |
| download | cpython-git-6f87a08aa70887026f92694ab1bfb9bccf0d7504.tar.gz | |
Update more usage of assertEqual
Diffstat (limited to 'Lib/test/test_strftime.py')
| -rw-r--r-- | Lib/test/test_strftime.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index 78604c665a..61215a15ba 100644 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -189,15 +189,15 @@ class Y1900Tests(unittest.TestCase): @unittest.skipIf(sys.platform == "win32", "Doesn't apply on Windows") def test_y_before_1900_nonwin(self): - self.assertEquals( + self.assertEqual( time.strftime("%y", (1899, 1, 1, 0, 0, 0, 0, 0, 0)), "99") def test_y_1900(self): - self.assertEquals( + self.assertEqual( time.strftime("%y", (1900, 1, 1, 0, 0, 0, 0, 0, 0)), "00") def test_y_after_1900(self): - self.assertEquals( + self.assertEqual( time.strftime("%y", (2013, 1, 1, 0, 0, 0, 0, 0, 0)), "13") if __name__ == '__main__': |
