summaryrefslogtreecommitdiff
path: root/tests/functional/w
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-01-03 23:01:08 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-01-24 10:16:38 +0100
commit2827b3dd1da12d0028036d74e3aef3b4e4b81118 (patch)
treedbc54180da07ebccc22d2386626ea0ab58dc2902 /tests/functional/w
parent168bee7f23d9956c12b419b18aa9f5974151e3d7 (diff)
downloadpylint-git-2827b3dd1da12d0028036d74e3aef3b4e4b81118.tar.gz
Add column to the information checked for functional tests
Diffstat (limited to 'tests/functional/w')
-rw-r--r--tests/functional/w/wildcard_import.txt4
-rw-r--r--tests/functional/w/wildcard_import_allowed.txt4
-rw-r--r--tests/functional/w/with_used_before_assign.txt4
-rw-r--r--tests/functional/w/with_using_generator.txt2
-rw-r--r--tests/functional/w/wrong_exception_operation.txt6
-rw-r--r--tests/functional/w/wrong_import_order.txt12
-rw-r--r--tests/functional/w/wrong_import_position.txt8
-rw-r--r--tests/functional/w/wrong_import_position11.txt2
-rw-r--r--tests/functional/w/wrong_import_position12.txt2
-rw-r--r--tests/functional/w/wrong_import_position13.txt2
-rw-r--r--tests/functional/w/wrong_import_position14.txt2
11 files changed, 24 insertions, 24 deletions
diff --git a/tests/functional/w/wildcard_import.txt b/tests/functional/w/wildcard_import.txt
index 643d818b2..67721a6e5 100644
--- a/tests/functional/w/wildcard_import.txt
+++ b/tests/functional/w/wildcard_import.txt
@@ -1,2 +1,2 @@
-wildcard-import:2::Wildcard import indirect1
-wildcard-import:5::Wildcard import unknown.package
+wildcard-import:2:0::Wildcard import indirect1
+wildcard-import:5:0::Wildcard import unknown.package
diff --git a/tests/functional/w/wildcard_import_allowed.txt b/tests/functional/w/wildcard_import_allowed.txt
index ef223fa82..6413af27a 100644
--- a/tests/functional/w/wildcard_import_allowed.txt
+++ b/tests/functional/w/wildcard_import_allowed.txt
@@ -1,2 +1,2 @@
-wildcard-import:3::Wildcard import abc:HIGH
-wildcard-import:4::Wildcard import UNINFERABLE:HIGH
+wildcard-import:3:0::Wildcard import abc
+wildcard-import:4:0::Wildcard import UNINFERABLE
diff --git a/tests/functional/w/with_used_before_assign.txt b/tests/functional/w/with_used_before_assign.txt
index 783ae732d..4a98cec60 100644
--- a/tests/functional/w/with_used_before_assign.txt
+++ b/tests/functional/w/with_used_before_assign.txt
@@ -1,2 +1,2 @@
-undefined-variable:9:do_nothing:Undefined variable 'ctx'
-used-before-assignment:10:do_nothing:Using variable 'context' before assignment
+undefined-variable:9:21:do_nothing:Undefined variable 'ctx'
+used-before-assignment:10:8:do_nothing:Using variable 'context' before assignment
diff --git a/tests/functional/w/with_using_generator.txt b/tests/functional/w/with_using_generator.txt
index 2b8103483..6bd65fbe7 100644
--- a/tests/functional/w/with_using_generator.txt
+++ b/tests/functional/w/with_using_generator.txt
@@ -1 +1 @@
-not-context-manager:14:Base.fun:Context manager 'generator' doesn't implement __enter__ and __exit__.
+not-context-manager:14:8:Base.fun:Context manager 'generator' doesn't implement __enter__ and __exit__.
diff --git a/tests/functional/w/wrong_exception_operation.txt b/tests/functional/w/wrong_exception_operation.txt
index 61a2e179f..05624a3a0 100644
--- a/tests/functional/w/wrong_exception_operation.txt
+++ b/tests/functional/w/wrong_exception_operation.txt
@@ -1,3 +1,3 @@
-wrong-exception-operation:6::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
-wrong-exception-operation:11::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
-wrong-exception-operation:17::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
+wrong-exception-operation:6:8::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
+wrong-exception-operation:11:8::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
+wrong-exception-operation:17:8::Invalid exception operation. Did you mean '(ValueError, TypeError)' instead?
diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt
index 46fe2b65e..e520ef219 100644
--- a/tests/functional/w/wrong_import_order.txt
+++ b/tests/functional/w/wrong_import_order.txt
@@ -1,6 +1,6 @@
-wrong-import-order:12::standard import "import os.path" should be placed before "import six"
-wrong-import-order:14::standard import "import sys" should be placed before "import six"
-wrong-import-order:15::standard import "import datetime" should be placed before "import six"
-wrong-import-order:18::third party import "import totally_missing" should be placed before "from .package import Class"
-wrong-import-order:20::third party import "import astroid" should be placed before "from .package import Class"
-wrong-import-order:24::third party import "from six.moves.urllib.parse import quote" should be placed before "from .package import Class"
+wrong-import-order:12:0::"standard import ""import os.path"" should be placed before ""import six"""
+wrong-import-order:14:0::"standard import ""import sys"" should be placed before ""import six"""
+wrong-import-order:15:0::"standard import ""import datetime"" should be placed before ""import six"""
+wrong-import-order:18:0::"third party import ""import totally_missing"" should be placed before ""from .package import Class"""
+wrong-import-order:20:0::"third party import ""import astroid"" should be placed before ""from .package import Class"""
+wrong-import-order:24:0::"third party import ""from six.moves.urllib.parse import quote"" should be placed before ""from .package import Class"""
diff --git a/tests/functional/w/wrong_import_position.txt b/tests/functional/w/wrong_import_position.txt
index e734ac5e5..22c426726 100644
--- a/tests/functional/w/wrong_import_position.txt
+++ b/tests/functional/w/wrong_import_position.txt
@@ -1,4 +1,4 @@
-wrong-import-position:22::Import "import six" should be placed at the top of the module
-wrong-import-position:26::Import "import datetime" should be placed at the top of the module
-wrong-import-position:32::Import "import scipy" should be placed at the top of the module
-wrong-import-position:33::Import "import astroid" should be placed at the top of the module
+wrong-import-position:22:0::"Import ""import six"" should be placed at the top of the module"
+wrong-import-position:26:0::"Import ""import datetime"" should be placed at the top of the module"
+wrong-import-position:32:0::"Import ""import scipy"" should be placed at the top of the module"
+wrong-import-position:33:0::"Import ""import astroid"" should be placed at the top of the module"
diff --git a/tests/functional/w/wrong_import_position11.txt b/tests/functional/w/wrong_import_position11.txt
index 01bb58421..a08aaa95c 100644
--- a/tests/functional/w/wrong_import_position11.txt
+++ b/tests/functional/w/wrong_import_position11.txt
@@ -1 +1 @@
-wrong-import-position:4::Import "import os" should be placed at the top of the module
+wrong-import-position:4:0::"Import ""import os"" should be placed at the top of the module"
diff --git a/tests/functional/w/wrong_import_position12.txt b/tests/functional/w/wrong_import_position12.txt
index 6d560822b..ca655ff5b 100644
--- a/tests/functional/w/wrong_import_position12.txt
+++ b/tests/functional/w/wrong_import_position12.txt
@@ -1 +1 @@
-wrong-import-position:5::Import "import os" should be placed at the top of the module
+wrong-import-position:5:0::"Import ""import os"" should be placed at the top of the module"
diff --git a/tests/functional/w/wrong_import_position13.txt b/tests/functional/w/wrong_import_position13.txt
index f3def1900..5010d9db4 100644
--- a/tests/functional/w/wrong_import_position13.txt
+++ b/tests/functional/w/wrong_import_position13.txt
@@ -1 +1 @@
-wrong-import-position:4::Import "from sys import x" should be placed at the top of the module
+wrong-import-position:4:0::"Import ""from sys import x"" should be placed at the top of the module"
diff --git a/tests/functional/w/wrong_import_position14.txt b/tests/functional/w/wrong_import_position14.txt
index 9fcdac503..22e09e25a 100644
--- a/tests/functional/w/wrong_import_position14.txt
+++ b/tests/functional/w/wrong_import_position14.txt
@@ -1 +1 @@
-wrong-import-position:5::Import "import y" should be placed at the top of the module
+wrong-import-position:5:0::"Import ""import y"" should be placed at the top of the module"