1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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 <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2023-11-09 21:43:54 +01:00 committed by Andreas Schneider
parent c290052fd2
commit 362b0d69b1

View File

@ -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)