mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#9424: Replace deprecated assert* methods in the Python test suite.
This commit is contained in:
parent
b8bc439b20
commit
b3aedd4862
170 changed files with 2388 additions and 2392 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue