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

diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 6de8803..c47ad4a 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -1613,7 +1613,7 @@
             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"""