summaryrefslogtreecommitdiff
path: root/pylint/test/functional/unneeded_not.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/unneeded_not.py')
-rw-r--r--pylint/test/functional/unneeded_not.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pylint/test/functional/unneeded_not.py b/pylint/test/functional/unneeded_not.py
index 0f56218..8f7ba93 100644
--- a/pylint/test/functional/unneeded_not.py
+++ b/pylint/test/functional/unneeded_not.py
@@ -45,3 +45,7 @@ def not_checked():
pass
if 2 not in [3, 4]:
pass
+ if not someint == bool_var == 2:
+ pass
+ if not 2 <= someint < 3 < 4:
+ pass