summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint/test/functional/wildcard_import.py2
-rw-r--r--pylint/test/input/func_3k_removed_stuff_py_30.py4
-rw-r--r--pylint/test/messages/func_3k_removed_stuff_py_30.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/pylint/test/functional/wildcard_import.py b/pylint/test/functional/wildcard_import.py
index 4cccb6b..66ae63d 100644
--- a/pylint/test/functional/wildcard_import.py
+++ b/pylint/test/functional/wildcard_import.py
@@ -1,4 +1,4 @@
-# pylint: disable=no-absolute-import,missing-docstring,import-error
+# pylint: disable=no-absolute-import,missing-docstring,import-error,unused-wildcard-import
from indirect1 import * # [wildcard-import]
# This is an unresolved import which still generates the wildcard-import
# warning.
diff --git a/pylint/test/input/func_3k_removed_stuff_py_30.py b/pylint/test/input/func_3k_removed_stuff_py_30.py
index 2633f2a..3d23069 100644
--- a/pylint/test/input/func_3k_removed_stuff_py_30.py
+++ b/pylint/test/input/func_3k_removed_stuff_py_30.py
@@ -3,11 +3,11 @@
from __future__ import print_function
__revision__ = filter(None, map(str, (1, 2, 3)))
-import func_w0302
+import func_w0401
def function():
"""something"""
- print(func_w0302)
+ print(func_w0401)
unic = u"unicode"
low = unic.looower
return low
diff --git a/pylint/test/messages/func_3k_removed_stuff_py_30.txt b/pylint/test/messages/func_3k_removed_stuff_py_30.txt
index a5ec95c..a185672 100644
--- a/pylint/test/messages/func_3k_removed_stuff_py_30.txt
+++ b/pylint/test/messages/func_3k_removed_stuff_py_30.txt
@@ -1,4 +1,4 @@
E: 12:function: Instance of 'unicode' has no 'looower' member
W: 4: Used builtin function 'filter'. Using a list comprehension can be clearer.
W: 4: Used builtin function 'map'. Using a list comprehension can be clearer.
-W: 6: Relative import 'func_w0302', should be 'input.func_w0302'
+W: 6: Relative import 'func_w0401', should be 'input.func_w0401'