diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-12-17 12:32:41 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-12-17 12:32:41 +0100 |
commit | 42b686b9a3504ee316e6598b4ea8e7d7a52a4cf6 (patch) | |
tree | 33986dec0ed3eba52b1710b3c00501627eb99c1a /testsuite | |
parent | 8452fc5e1383617b63533d9f6f586133554276f6 (diff) | |
parent | 6a2f71b19fb107983af6bb321fa6cb3b78650f4a (diff) | |
download | pep8-42b686b9a3504ee316e6598b4ea8e7d7a52a4cf6.tar.gz |
Merge branch fixing issues #330 and #336
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E71.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/E71.py b/testsuite/E71.py index 3f07b1a..ea870e5 100644 --- a/testsuite/E71.py +++ b/testsuite/E71.py @@ -46,13 +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 #: |