From 80c63960f77ea57aa7487fcb2047aef551bad3c7 Mon Sep 17 00:00:00 2001 From: lorb Date: Thu, 7 Nov 2019 10:18:18 +0100 Subject: [PATCH] update a deprecated assert in logging tests --- Lib/test/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 6de8803081e517b..c47ad4ac7520627 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1613,7 +1613,7 @@ def test_config_set_handler_names(self): 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"""