]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
update a deprecated assert in logging tests (GH-17079)
authorl0rb <lorbritzer@yahoo.de>
Thu, 7 Nov 2019 10:13:36 +0000 (11:13 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 7 Nov 2019 10:13:36 +0000 (10:13 +0000)
Lib/test/test_logging.py

index 6de8803081e517b10ea1da82474b5874d96a69bd..c47ad4ac7520627723b062d882a2753a431b0184 100644 (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"""