diff options
author | l0rb <lorbritzer@yahoo.de> | 2019-11-07 11:13:36 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-11-07 10:13:36 +0000 |
commit | 991b02dc871e101e98edece37d8a570f6a39d79f (patch) | |
tree | 6f09d94bab78b61e1ac039ec9efbce56fb6c27f4 /Lib/test/test_logging.py | |
parent | 9def81aa52adc3cc89554156e40742cf17312825 (diff) | |
download | cpython-git-991b02dc871e101e98edece37d8a570f6a39d79f.tar.gz |
update a deprecated assert in logging tests (GH-17079)
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 6de8803081..c47ad4ac75 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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""" |