summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/input/func_3k_removed_stuff_py_30.py2
-rw-r--r--test/input/func_w0151.py4
-rw-r--r--test/messages/func_3k_removed_stuff_py_30.txt1
-rw-r--r--test/messages/func_w0151.txt3
4 files changed, 4 insertions, 6 deletions
diff --git a/test/input/func_3k_removed_stuff_py_30.py b/test/input/func_3k_removed_stuff_py_30.py
index f14be8d49..ceb06d0f5 100644
--- a/test/input/func_3k_removed_stuff_py_30.py
+++ b/test/input/func_3k_removed_stuff_py_30.py
@@ -1,7 +1,7 @@
"""test relative import
"""
-__revision__ = 0
+__revision__ = apply(map, (str, (1, 2, 3)))
import func_w0302
diff --git a/test/input/func_w0151.py b/test/input/func_w0151.py
index 4c5544669..e6862c5af 100644
--- a/test/input/func_w0151.py
+++ b/test/input/func_w0151.py
@@ -1,7 +1,5 @@
"""check black listed builtins
"""
-__revision__ = apply(map, (str, (1, 2, 3)))
-
-YYYYY = map(str, (1, 2, 3))
+__revision__ = map(str, (1, 2, 3))
diff --git a/test/messages/func_3k_removed_stuff_py_30.txt b/test/messages/func_3k_removed_stuff_py_30.txt
index 68fb264bd..329144f9e 100644
--- a/test/messages/func_3k_removed_stuff_py_30.txt
+++ b/test/messages/func_3k_removed_stuff_py_30.txt
@@ -1,2 +1,3 @@
E: 12:function: Instance of 'unicode' has no 'looower' member
+W: 4: Used builtin function 'apply'
W: 6: Relative import 'func_w0302', should be 'input.func_w0302'
diff --git a/test/messages/func_w0151.txt b/test/messages/func_w0151.txt
index dae33d9f9..9a5396734 100644
--- a/test/messages/func_w0151.txt
+++ b/test/messages/func_w0151.txt
@@ -1,2 +1 @@
-W: 4: Used builtin function 'apply'
-W: 6: Used builtin function 'map'
+W: 4: Used builtin function 'map'