diff options
| author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-08-29 20:48:58 +1200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2023-08-30 02:15:29 +0000 |
| commit | e4ab1de4e411b057f34dcc98544501057bed74ca (patch) | |
| tree | 11d2ba3dd094047c3e1c814bc59e64de482695c7 /lib/ldb/tests/python/api.py | |
| parent | 84dc7129ead1c80b89f89f7d5b426ea3592fca58 (diff) | |
| download | samba-e4ab1de4e411b057f34dcc98544501057bed74ca.tar.gz samba-e4ab1de4e411b057f34dcc98544501057bed74ca.tar.bz2 samba-e4ab1de4e411b057f34dcc98544501057bed74ca.zip | |
lib:ldb:tests: Remove explicit comparison with False
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/ldb/tests/python/api.py')
| -rwxr-xr-x | lib/ldb/tests/python/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/tests/python/api.py b/lib/ldb/tests/python/api.py index 6c9ee559e21..043b7213a49 100755 --- a/lib/ldb/tests/python/api.py +++ b/lib/ldb/tests/python/api.py @@ -1724,7 +1724,7 @@ class SearchTests(LdbBaseTest): if hasattr(self, 'disallowDNFilter') and \ hasattr(self, 'IDX') and \ (hasattr(self, 'IDXGUID') or - ((hasattr(self, 'IDXONE') == False and hasattr(self, 'IDX')))): + ((not hasattr(self, 'IDXONE') and hasattr(self, 'IDX')))): self.assertEqual(len(res11), 0) else: self.assertEqual(len(res11), 1) |
