You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2021/03/02 12:21:45 UTC

[qpid-dispatch] branch master updated: DISPATCH-1974 Update deprecated assertEquals, remove suppression H234 (#1059)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new e0735a5  DISPATCH-1974 Update deprecated assertEquals, remove suppression H234 (#1059)
e0735a5 is described below

commit e0735a58192ed8570a7baee8f0c810b13fb2b206
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Tue Mar 2 13:21:33 2021 +0100

    DISPATCH-1974 Update deprecated assertEquals, remove suppression H234 (#1059)
---
 tests/system_tests_link_routes.py | 2 +-
 tests/tox.ini.in                  | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/system_tests_link_routes.py b/tests/system_tests_link_routes.py
index 762b49a..d1f76e1 100644
--- a/tests/system_tests_link_routes.py
+++ b/tests/system_tests_link_routes.py
@@ -1761,7 +1761,7 @@ class LinkRouteDrainTest(TestCase):
         fake_broker = self._fake_broker(FakeBrokerDrain)
         drain_receiver = DrainReceiver(self.router.addresses[0], fake_broker)
         drain_receiver.run()
-        self.assertEquals(drain_receiver.error, None)
+        self.assertEqual(drain_receiver.error, None)
 
 
 class ConnectionLinkRouteTest(TestCase):
diff --git a/tests/tox.ini.in b/tests/tox.ini.in
index 6a86818..ad224ec 100644
--- a/tests/tox.ini.in
+++ b/tests/tox.ini.in
@@ -68,8 +68,6 @@ ignore =
     H101,
     # H202: assertRaises Exception too broad
     H202,
-    # H234: assertEquals is deprecated, use assertEqual
-    H234,
     # H401: docstring should not start with a space
     H401,
     # H403: multi line docstrings should end on a new line


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org