upstream: https://bitbucket.org/vinay.sajip/logutils/issues/8/test-failure-due-to-deprecated diff --git a/tests/test_dictconfig.py b/tests/test_dictconfig.py index 3aee984..3ad44ed 100644 --- a/tests/test_dictconfig.py +++ b/tests/test_dictconfig.py @@ -568,7 +568,7 @@ class ConfigDictTest(unittest.TestCase): raise RuntimeError() except RuntimeError: logging.exception("just testing") - self.assertEquals(h.formatted[0], + self.assertEqual(h.formatted[0], "ERROR:root:just testing\nGot a [RuntimeError]") def test_config4a_ok(self): @@ -580,7 +580,7 @@ class ConfigDictTest(unittest.TestCase): raise RuntimeError() except RuntimeError: logging.exception("just testing") - self.assertEquals(h.formatted[0], + self.assertEqual(h.formatted[0], "ERROR:root:just testing\nGot a [RuntimeError]") def test_config5_ok(self):