We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bce258 commit 2f1f63aCopy full SHA for 2f1f63a
1 file changed
Lib/test/test_calendar.py
@@ -465,8 +465,8 @@ def test_formatmonth_with_invalid_month(self):
465
calendar.TextCalendar().formatmonth(2017, -1)
466
467
def test_illegal_month_error_bases(self):
468
- self.assertIsSubclass(calendar.IllegalMonthError, ValueError)
469
- self.assertIsSubclass(calendar.IllegalMonthError, IndexError)
+ self.assertTrue(issubclass(calendar.IllegalMonthError, ValueError))
+ self.assertTrue(issubclass(calendar.IllegalMonthError, IndexError))
470
471
def test_formatmonthname_with_year(self):
472
self.assertEqual(
0 commit comments