diff options
author | l0rb <lorbritzer@yahoo.de> | 2019-11-07 10:13:36 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-11-07 10:13:36 (GMT) |
commit | 991b02dc871e101e98edece37d8a570f6a39d79f (patch) | |
tree | 6f09d94bab78b61e1ac039ec9efbce56fb6c27f4 | |
parent | 9def81aa52adc3cc89554156e40742cf17312825 (diff) | |
download | cpython-991b02dc871e101e98edece37d8a570f6a39d79f.zip cpython-991b02dc871e101e98edece37d8a570f6a39d79f.tar.gz cpython-991b02dc871e101e98edece37d8a570f6a39d79f.tar.bz2 |
update a deprecated assert in logging tests (GH-17079)
-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 6de8803..c47ad4a 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""" |