summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <sigmavirus24@users.noreply.github.com>2017-01-30 11:24:29 -0600
committerGitHub <noreply@github.com>2017-01-30 11:24:29 -0600
commit4d502e40c4e353fa073058e89bef80afa7520260 (patch)
tree32ce0466152f480449b64a52851bc85726c28368
parent6837433c1a2835fa40ecfa1548408241363546c6 (diff)
parente18679274bdfce281cff60191793862bedf307b4 (diff)
downloadpep8-4d502e40c4e353fa073058e89bef80afa7520260.tar.gz
Merge pull request #620 from sigmavirus24/bug/619
Add regression test for nested definitions
-rw-r--r--testsuite/E30not.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/E30not.py b/testsuite/E30not.py
index 00bee95..6303b3b 100644
--- a/testsuite/E30not.py
+++ b/testsuite/E30not.py
@@ -158,3 +158,7 @@ defined_properly = True
#: Okay
defaults = {}
defaults.update({})
+#: Okay
+def foo(x):
+ classification = x
+ definitely = not classification