summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDanny Sepler <dannysepler@gmail.com>2022-10-31 22:44:15 -0400
committerAnthony Sottile <asottile@umich.edu>2022-11-05 23:42:56 -0400
commita13131627c67db9e422c203f391a74b3ca7315a8 (patch)
tree40a625c7f258746a1edae25b20f8fcf2884b2a19 /testsuite
parent2b76c4da9a1687cb6ca8eeb625b95b3fbdcf7bad (diff)
downloadpep8-a13131627c67db9e422c203f391a74b3ca7315a8.tar.gz
Fix false positive with E741
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/python38.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/python38.py b/testsuite/python38.py
index 8bf0d4d..faf9aa7 100644
--- a/testsuite/python38.py
+++ b/testsuite/python38.py
@@ -53,3 +53,6 @@ if x := 2:
#: E221:1:6 E221:1:19
if (x := 1) == (y := 2):
pass
+#: E741
+while l := 1:
+ pass