summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_calendar.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2012-12-27 22:32:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2012-12-27 22:32:19 (GMT)
commit8876145fabec7924981f36019f0c2e45f73fbad2 (patch)
treeb1deaa1df7385024bdc3e7093c442421f09411f1 /Lib/test/test_calendar.py
parent270767b2ceb5452d052b280eb1b174d7a32d43f5 (diff)
downloadcpython-8876145fabec7924981f36019f0c2e45f73fbad2.zip
cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.gz
cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.bz2
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Diffstat (limited to 'Lib/test/test_calendar.py')
-rw-r--r--Lib/test/test_calendar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_calendar.py b/Lib/test/test_calendar.py
index 5d6549c..0f91d29 100644
--- a/Lib/test/test_calendar.py
+++ b/Lib/test/test_calendar.py
@@ -261,7 +261,7 @@ class CalendarTestCase(unittest.TestCase):
return
calendar.LocaleHTMLCalendar(locale='').formatmonthname(2010, 10)
new_october = calendar.TextCalendar().formatmonthname(2010, 10, 10)
- self.assertEquals(old_october, new_october)
+ self.assertEqual(old_october, new_october)
def test_itermonthdates(self):
# ensure itermonthdates doesn't overflow after datetime.MAXYEAR