summaryrefslogtreecommitdiff
path: root/testsuite/E70.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/E70.py')
-rw-r--r--testsuite/E70.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/testsuite/E70.py b/testsuite/E70.py
index 64feefd..85ca666 100644
--- a/testsuite/E70.py
+++ b/testsuite/E70.py
@@ -1,13 +1,20 @@
-#: E701
+#: E701:1:5
if a: a = False
-#: E701
+#: E701:1:40
if not header or header[:6] != 'bytes=': return
-#: E702
+#: E702:1:10
a = False; b = True
-#: E702
+#: E702:1:17
import bdist_egg; bdist_egg.write_safety_flag(cmd.egg_info, safe)
-#: E703
+#: E703:1:13
import shlex;
-#: E702 E703
+#: E702:1:9 E703:1:23
del a[:]; a.append(42);
+#: E704:1:1
+def f(x): return 2
+#: E704:1:1 E226:1:19
+def f(x): return 2*x
+#: E704:2:5 E226:2:23
+while all is round:
+ def f(x): return 2*x
#: