update a deprecated assert in logging tests (GH-17079)

This commit is contained in:
l0rb 2019-11-07 11:13:36 +01:00 committed by Vinay Sajip
parent 9def81aa52
commit 991b02dc87
1 changed files with 1 additions and 1 deletions

View File

@ -1613,7 +1613,7 @@ class ConfigFileTest(BaseTest):
format=%(levelname)s ++ %(message)s
"""
self.apply_config(test_config)
self.assertEquals(logging.getLogger().handlers[0].name, 'hand1')
self.assertEqual(logging.getLogger().handlers[0].name, 'hand1')
def test_defaults_do_no_interpolation(self):
"""bpo-33802 defaults should not get interpolated"""