mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
Also, update to latest upstream version. Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
74 lines
845 B
Python
74 lines
845 B
Python
#: E711
|
|
if res == None:
|
|
pass
|
|
#: E711
|
|
if res != None:
|
|
pass
|
|
#: E711
|
|
if None == res:
|
|
pass
|
|
#: E711
|
|
if None != res:
|
|
pass
|
|
|
|
#
|
|
#: E712
|
|
if res == True:
|
|
pass
|
|
#: E712
|
|
if res != False:
|
|
pass
|
|
#: E712
|
|
if True != res:
|
|
pass
|
|
#: E712
|
|
if False == res:
|
|
pass
|
|
|
|
#
|
|
#: E713
|
|
if not X in Y:
|
|
pass
|
|
#: E713
|
|
if not X.B in Y:
|
|
pass
|
|
#: E713
|
|
if not X in Y and Z == "zero":
|
|
pass
|
|
#: E713
|
|
if X == "zero" or not Y in Z:
|
|
pass
|
|
|
|
#
|
|
#: E714
|
|
if not X is Y:
|
|
pass
|
|
#: E714
|
|
if not X.B is Y:
|
|
pass
|
|
|
|
#
|
|
#: Okay
|
|
if x not in y:
|
|
pass
|
|
|
|
if not (X in Y or X is Z):
|
|
pass
|
|
|
|
if not (X in Y):
|
|
pass
|
|
|
|
if x is not y:
|
|
pass
|
|
|
|
if TrueElement.get_element(True) == TrueElement.get_element(False):
|
|
pass
|
|
|
|
if (True) == TrueElement or x == TrueElement:
|
|
pass
|
|
|
|
assert (not foo) in bar
|
|
assert {'x': not foo} in bar
|
|
assert [42, not foo] in bar
|
|
#:
|