blob: 4c98de6e88a1c2a800f0629c4913b7e740019419 [file] [log] [blame]
# pylint: disable=missing-docstring, comparison-with-itself, invalid-name
while 2 == 2: # [comparison-of-constants]
pass
while 2 > 2: # [comparison-of-constants]
pass
n = 2
if 2 != n:
pass
if n != 1 + 1:
pass
if True == True: # [comparison-of-constants, singleton-comparison]
pass
CONST = 24
if 0 < CONST < 42:
pass
if 0 < n < 42:
pass
if True == n != 42:
pass
if 0 == n != 42:
pass
print(0 < n < 42)
print(0 <= n < 42 )
print(n < 1 < n*42 < 42)
print(42> n <= 0)
print(0 == n > 42)