diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-20 19:04:17 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-11-20 19:04:17 +0000 |
commit | 19449cb010e5ef7c775b582a56f477ef67c57f8c (patch) | |
tree | 2b8b721dc50b35778db823b629b4e1ffa4c3566a /Lib/test/test_calendar.py | |
parent | ddc3434e315497707d753cfcd4a7c19efbec643a (diff) | |
download | cpython-19449cb010e5ef7c775b582a56f477ef67c57f8c.tar.gz |
#9424: Replace deprecated assert* methods in the Python test suite.
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 9ba7f0c071..8d7f1854fe 100644 --- a/Lib/test/test_calendar.py +++ b/Lib/test/test_calendar.py @@ -262,7 +262,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) class MonthCalendarTestCase(unittest.TestCase): |