Index: flake8-abp/tests/A104.py |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/flake8-abp/tests/A104.py |
@@ -0,0 +1,15 @@ |
+import itertools |
+from itertools import imap, ifilter |
+ |
+# A104 |
+map(lambda x: x, range(10)) |
+# A104 |
+filter(lambda x: x, range(10)) |
+# A104 |
+imap(lambda x: x, range(10)) |
+# A104 |
+ifilter(lambda x: x, range(10)) |
+# A104 |
+itertools.imap(lambda x: x, range(10)) |
+# A104 |
+itertools.ifilter(lambda x: x, range(10)) |