From: Gary Lockyer Date: Tue, 6 Mar 2018 02:30:43 +0000 (+1300) Subject: ldb: Remove python warning in tests/python/index.py X-Git-Tag: talloc-2.1.12~246 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0009a12b1f4798b4c83cd36efdede8db0ba7b790;p=thirdparty%2Fsamba.git ldb: Remove python warning in tests/python/index.py Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett --- diff --git a/lib/ldb/tests/python/index.py b/lib/ldb/tests/python/index.py index f7d55f6a347..239b2bff3fd 100755 --- a/lib/ldb/tests/python/index.py +++ b/lib/ldb/tests/python/index.py @@ -1005,7 +1005,7 @@ class MaxIndexKeyLengthTests(TestCase): res = self.l.search( base="DC=SAMBA,DC=ORG", expression="(notUnique=" + aa_gt_max.decode("ascii") + ")") - self.assertEquals(2, len(res)) + self.assertEqual(2, len(res)) self.assertTrue( contains(res, "OU=01,OU=MODIFY_NON_UNIQUE,DC=SAMBA,DC=ORG")) self.assertTrue(