summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-12-16 01:05:48 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-12-16 21:03:45 +0100
commitab63c978ac3540cd556f880d6035264deea8cb6e (patch)
treeed510c7f7b86ad538a191683b2f0ab22bcc1b497 /testsuite
parentda9f37d3d9466e1cc35579748cb8adab57b5791c (diff)
downloadpep8-ab63c978ac3540cd556f880d6035264deea8cb6e.tar.gz
Fix false positive E711/E712; issue #336
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/E71.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/E71.py b/testsuite/E71.py
index 3f07b1a..25a308f 100644
--- a/testsuite/E71.py
+++ b/testsuite/E71.py
@@ -55,4 +55,9 @@ 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
#: