From 362b0d69b16c5bbcd0ff7dd7ba12e1ac037a6b3d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 9 Nov 2023 21:43:54 +0100 Subject: [PATCH] python:tests: Fix assertEquals which doesn't exist in Python 3.12 BUG: https://bugzilla.samba.org/show_bug.cgi?id=15513 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- python/samba/tests/gpo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/tests/gpo.py b/python/samba/tests/gpo.py index 33be897405b..f85780685d6 100644 --- a/python/samba/tests/gpo.py +++ b/python/samba/tests/gpo.py @@ -7897,7 +7897,7 @@ class GPOTests(tests.TestCase): # Check that a call to gpupdate --rsop also succeeds ret = rsop(self.lp) - self.assertEquals(ret, 0, 'gpupdate --rsop failed!') + self.assertEqual(ret, 0, 'gpupdate --rsop failed!') # Unstage the Drives.xml unstage_file(xml_path) -- 2.47.3