summaryrefslogtreecommitdiff
path: root/Lib/test/test_strftime.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-12-21 22:19:46 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2013-12-21 22:19:46 +0100
commit492b9893e13ee1967df2c3adf2d2bd6fe12b995b (patch)
tree983b00d3acfed0c722c682b6f96e6b9b782a0dd1 /Lib/test/test_strftime.py
parent17c93260a62ac895f336351158e6fdaa6b117bcb (diff)
downloadcpython-git-492b9893e13ee1967df2c3adf2d2bd6fe12b995b.tar.gz
Fix DeprecationWarnings in test suite
Diffstat (limited to 'Lib/test/test_strftime.py')
-rw-r--r--Lib/test/test_strftime.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py
index 78c9c5bdb9..4f39cc79ac 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")
def test_main():