summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-09-29 15:59:08 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-09-29 15:59:08 +0300
commit8f583e56df75466907b1c360d24d606876325e3b (patch)
tree7a1f4f5715a15cb83c17335aead9d74979a86a94
parentb2dd7c7e3e14eb92f96fbf72e47466555df07ab2 (diff)
downloadpylint-8f583e56df75466907b1c360d24d606876325e3b.tar.gz
Fix the tests.
-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'