summaryrefslogtreecommitdiff
path: root/testsuite/E71.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-04-02 19:20:28 -0700
committerGitHub <noreply@github.com>2021-04-02 19:20:28 -0700
commitc4460cb9dffbd9b7ee000dc31388d5f45fe484a0 (patch)
tree8174b1430b252369802cecb90abe8bc6851fda4e /testsuite/E71.py
parent76edc0afe5ea95f09aaef17c11c9d26ac0729ac9 (diff)
parent37e96aa5355e85e60c1003b1e85f6e29bcb8e20b (diff)
downloadpep8-c4460cb9dffbd9b7ee000dc31388d5f45fe484a0.tar.gz
Merge pull request #987 from asottile/E712_multiple_times
detect multiple E712 in a line
Diffstat (limited to 'testsuite/E71.py')
-rw-r--r--testsuite/E71.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/E71.py b/testsuite/E71.py
index abf4e7a..b4b53af 100644
--- a/testsuite/E71.py
+++ b/testsuite/E71.py
@@ -42,6 +42,8 @@ if res[1] == True:
#: E712
if res[1] != False:
pass
+#: E712 E712
+var = 1 if cond == True else -1 if cond == False else cond
#
#: E713