summaryrefslogtreecommitdiff
path: root/testsuite/E71.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/E71.py')
-rw-r--r--testsuite/E71.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/E71.py b/testsuite/E71.py
index 25a308f..ea870e5 100644
--- a/testsuite/E71.py
+++ b/testsuite/E71.py
@@ -46,18 +46,28 @@ if not X is Y:
#: 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
#: