diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-27 22:32:19 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2012-12-27 22:32:19 (GMT) |
| commit | 8876145fabec7924981f36019f0c2e45f73fbad2 (patch) | |
| tree | b1deaa1df7385024bdc3e7093c442421f09411f1 /Lib/test/test_calendar.py | |
| parent | 270767b2ceb5452d052b280eb1b174d7a32d43f5 (diff) | |
| download | cpython-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.py | 2 |
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 |
