summaryrefslogtreecommitdiff
path: root/testsuite/python38.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2022-11-21 14:04:02 -0500
committerGitHub <noreply@github.com>2022-11-21 14:04:02 -0500
commitc5308a75adb2c98a00228083ebe7cd87445a8c36 (patch)
treee2c6bef6b70f8b50d0d53054b2f3626281d66bca /testsuite/python38.py
parent6cac99dc19fbecbb64b9aba7498118c9a6b70d07 (diff)
parent56dac1348f44d2e1f0bca085d415658cd3ee9874 (diff)
downloadpep8-c5308a75adb2c98a00228083ebe7cd87445a8c36.tar.gz
Merge pull request #1122 from PyCQA/stop-E741-after-parameters
fix reporting of ambiguous identifier after parameter list
Diffstat (limited to 'testsuite/python38.py')
-rw-r--r--testsuite/python38.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/python38.py b/testsuite/python38.py
index faf9aa7..536448d 100644
--- a/testsuite/python38.py
+++ b/testsuite/python38.py
@@ -56,3 +56,6 @@ if (x := 1) == (y := 2):
#: E741
while l := 1:
pass
+#: E741
+if (l := 1):
+ pass