summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-04-26 18:45:35 +0200
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-04-26 18:45:35 +0200
commitd6d2f0b2ec50ffce2d1ad469fbd4e2b1642cfa0f (patch)
treebe77db45a2a1df8b7a66313a598dbb77c859725d
parentb29fb6a086edcf7638a9ef02790fad8dc0d24e34 (diff)
downloadpep8-d6d2f0b2ec50ffce2d1ad469fbd4e2b1642cfa0f.tar.gz
Add tests for E731, issue #277
-rw-r--r--testsuite/E73.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/E73.py b/testsuite/E73.py
new file mode 100644
index 0000000..0673e0f
--- /dev/null
+++ b/testsuite/E73.py
@@ -0,0 +1,7 @@
+#: E731:1:1
+f = lambda x: 2 * x
+#: E731:1:1 E226:1:16
+f = lambda x: 2*x
+#: E731:2:5
+while False:
+ this = lambda y, z: 2 * x