Skip to content

Commit 991b02d

Browse files
l0rbvsajip
authored andcommitted
update a deprecated assert in logging tests (pythonGH-17079)
1 parent 9def81a commit 991b02d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ def test_config_set_handler_names(self):
16131613
format=%(levelname)s ++ %(message)s
16141614
"""
16151615
self.apply_config(test_config)
1616-
self.assertEquals(logging.getLogger().handlers[0].name, 'hand1')
1616+
self.assertEqual(logging.getLogger().handlers[0].name, 'hand1')
16171617

16181618
def test_defaults_do_no_interpolation(self):
16191619
"""bpo-33802 defaults should not get interpolated"""

0 commit comments

Comments
 (0)