From 0aff86c688399f5d250aaad475e3833c40ebea7d Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Mon, 22 Jul 2024 11:09:15 +0200 Subject: [PATCH] Update assertEquals to assertEqual Fixes authentication tests for Python >= 3.12. See: https://github.com/cocagne/txdbus/issues/95 --- tests/test_authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_authentication.py b/tests/test_authentication.py index fce749f..e440fee 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -427,7 +427,7 @@ def disconnect(self): def setTest(self, test): self.test = test self.assertTrue = self.test.assertTrue - self.assertEquals = self.test.assertEquals + self.assertEqual = self.test.assertEqual self.fail = self.test.fail def succeed(self):