diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-01-03 23:01:08 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-01-24 10:16:38 +0100 |
commit | 2827b3dd1da12d0028036d74e3aef3b4e4b81118 (patch) | |
tree | dbc54180da07ebccc22d2386626ea0ab58dc2902 /tests/functional/b | |
parent | 168bee7f23d9956c12b419b18aa9f5974151e3d7 (diff) | |
download | pylint-git-2827b3dd1da12d0028036d74e3aef3b4e4b81118.tar.gz |
Add column to the information checked for functional tests
Diffstat (limited to 'tests/functional/b')
-rw-r--r-- | tests/functional/b/bad_except_order.txt | 10 | ||||
-rw-r--r-- | tests/functional/b/bad_exception_context.txt | 6 | ||||
-rw-r--r-- | tests/functional/b/bad_indentation.txt | 4 | ||||
-rw-r--r-- | tests/functional/b/bad_inline_option.txt | 2 | ||||
-rw-r--r-- | tests/functional/b/bad_open_mode_py3.txt | 12 | ||||
-rw-r--r-- | tests/functional/b/bad_reversed_sequence.txt | 14 | ||||
-rw-r--r-- | tests/functional/b/bad_reversed_sequence_py37.txt | 2 | ||||
-rw-r--r-- | tests/functional/b/bad_staticmethod_argument.txt | 4 | ||||
-rw-r--r-- | tests/functional/b/bad_thread_instantiation.txt | 4 | ||||
-rw-r--r-- | tests/functional/b/bare_except.txt | 2 | ||||
-rw-r--r-- | tests/functional/b/blacklisted_name.txt | 2 | ||||
-rw-r--r-- | tests/functional/b/broad_except.txt | 4 |
12 files changed, 33 insertions, 33 deletions
diff --git a/tests/functional/b/bad_except_order.txt b/tests/functional/b/bad_except_order.txt index 1199d6790..1181676a2 100644 --- a/tests/functional/b/bad_except_order.txt +++ b/tests/functional/b/bad_except_order.txt @@ -1,5 +1,5 @@ -bad-except-order:9::Bad except clauses order (Exception is an ancestor class of TypeError) -bad-except-order:16::Bad except clauses order (LookupError is an ancestor class of IndexError) -bad-except-order:23::Bad except clauses order (LookupError is an ancestor class of IndexError) -bad-except-order:23::Bad except clauses order (NameError is an ancestor class of UnboundLocalError) -bad-except-order:26::Bad except clauses order (empty except clause should always appear last) +bad-except-order:9:7::Bad except clauses order (Exception is an ancestor class of TypeError) +bad-except-order:16:7::Bad except clauses order (LookupError is an ancestor class of IndexError) +bad-except-order:23:7::Bad except clauses order (LookupError is an ancestor class of IndexError) +bad-except-order:23:7::Bad except clauses order (NameError is an ancestor class of UnboundLocalError) +bad-except-order:26:0::Bad except clauses order (empty except clause should always appear last) diff --git a/tests/functional/b/bad_exception_context.txt b/tests/functional/b/bad_exception_context.txt index f4c83dfc9..11f9e404e 100644 --- a/tests/functional/b/bad_exception_context.txt +++ b/tests/functional/b/bad_exception_context.txt @@ -1,3 +1,3 @@ -bad-exception-context:14:test:Exception context set to something which is not an exception, nor None
-bad-exception-context:17:test:Exception context set to something which is not an exception, nor None
-bad-exception-context:23:test:Exception context set to something which is not an exception, nor None +bad-exception-context:14:4:test:Exception context set to something which is not an exception, nor None +bad-exception-context:17:4:test:Exception context set to something which is not an exception, nor None +bad-exception-context:23:4:test:Exception context set to something which is not an exception, nor None diff --git a/tests/functional/b/bad_indentation.txt b/tests/functional/b/bad_indentation.txt index c5c00bb12..3963624fd 100644 --- a/tests/functional/b/bad_indentation.txt +++ b/tests/functional/b/bad_indentation.txt @@ -1,2 +1,2 @@ -bad-indentation:6::Bad indentation. Found 1 spaces, expected 4 -bad-indentation:12::Bad indentation. Found 5 spaces, expected 4 +bad-indentation:6:0::Bad indentation. Found 1 spaces, expected 4 +bad-indentation:12:0::Bad indentation. Found 5 spaces, expected 4 diff --git a/tests/functional/b/bad_inline_option.txt b/tests/functional/b/bad_inline_option.txt index ea4758f94..6a97bff61 100644 --- a/tests/functional/b/bad_inline_option.txt +++ b/tests/functional/b/bad_inline_option.txt @@ -1 +1 @@ -bad-inline-option:3::Unable to consider inline option 'disable' +bad-inline-option:3:0::Unable to consider inline option 'disable' diff --git a/tests/functional/b/bad_open_mode_py3.txt b/tests/functional/b/bad_open_mode_py3.txt index 0be0ea84e..2ec0a5b19 100644 --- a/tests/functional/b/bad_open_mode_py3.txt +++ b/tests/functional/b/bad_open_mode_py3.txt @@ -1,6 +1,6 @@ -bad-open-mode:11::"""rwx"" is not a valid mode for open."
-bad-open-mode:12::"""rr"" is not a valid mode for open."
-bad-open-mode:13::"""+"" is not a valid mode for open."
-bad-open-mode:14::"""xw"" is not a valid mode for open."
-bad-open-mode:20::"""Ua"" is not a valid mode for open."
-bad-open-mode:21::"""Ur++"" is not a valid mode for open."
+bad-open-mode:11:0::"""rwx"" is not a valid mode for open." +bad-open-mode:12:0::"""rr"" is not a valid mode for open." +bad-open-mode:13:0::"""+"" is not a valid mode for open." +bad-open-mode:14:0::"""xw"" is not a valid mode for open." +bad-open-mode:20:0::"""Ua"" is not a valid mode for open." +bad-open-mode:21:0::"""Ur++"" is not a valid mode for open." diff --git a/tests/functional/b/bad_reversed_sequence.txt b/tests/functional/b/bad_reversed_sequence.txt index b4f85585d..051bd11ba 100644 --- a/tests/functional/b/bad_reversed_sequence.txt +++ b/tests/functional/b/bad_reversed_sequence.txt @@ -1,7 +1,7 @@ -bad-reversed-sequence:43:test:The first reversed() argument is not a sequence -bad-reversed-sequence:46:test:The first reversed() argument is not a sequence -bad-reversed-sequence:47:test:The first reversed() argument is not a sequence -bad-reversed-sequence:50:test:The first reversed() argument is not a sequence -bad-reversed-sequence:51:test:The first reversed() argument is not a sequence -bad-reversed-sequence:53:test:The first reversed() argument is not a sequence -bad-reversed-sequence:54:test:The first reversed() argument is not a sequence +bad-reversed-sequence:43:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:46:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:47:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:50:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:51:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:53:10:test:The first reversed() argument is not a sequence +bad-reversed-sequence:54:10:test:The first reversed() argument is not a sequence diff --git a/tests/functional/b/bad_reversed_sequence_py37.txt b/tests/functional/b/bad_reversed_sequence_py37.txt index 47d0c6c54..1e1b939ab 100644 --- a/tests/functional/b/bad_reversed_sequence_py37.txt +++ b/tests/functional/b/bad_reversed_sequence_py37.txt @@ -1 +1 @@ -bad-reversed-sequence:2::The first reversed() argument is not a sequence
+bad-reversed-sequence:2:::The first reversed() argument is not a sequence diff --git a/tests/functional/b/bad_staticmethod_argument.txt b/tests/functional/b/bad_staticmethod_argument.txt index 31216154f..c2e0c5b0e 100644 --- a/tests/functional/b/bad_staticmethod_argument.txt +++ b/tests/functional/b/bad_staticmethod_argument.txt @@ -1,2 +1,2 @@ -bad-staticmethod-argument:5:Abcd.method1:Static method with 'self' as first argument -bad-staticmethod-argument:10:Abcd.method2:Static method with 'cls' as first argument +bad-staticmethod-argument:5:4:Abcd.method1:Static method with 'self' as first argument +bad-staticmethod-argument:10:4:Abcd.method2:Static method with 'cls' as first argument diff --git a/tests/functional/b/bad_thread_instantiation.txt b/tests/functional/b/bad_thread_instantiation.txt index 81fb8405b..59f606aee 100644 --- a/tests/functional/b/bad_thread_instantiation.txt +++ b/tests/functional/b/bad_thread_instantiation.txt @@ -1,2 +1,2 @@ -bad-thread-instantiation:5::threading.Thread needs the target function -bad-thread-instantiation:8::threading.Thread needs the target function +bad-thread-instantiation:5:0::threading.Thread needs the target function +bad-thread-instantiation:8:0::threading.Thread needs the target function diff --git a/tests/functional/b/bare_except.txt b/tests/functional/b/bare_except.txt index eb8a2e8c8..514ffe1d6 100644 --- a/tests/functional/b/bare_except.txt +++ b/tests/functional/b/bare_except.txt @@ -1 +1 @@ -bare-except:5::No exception type(s) specified +bare-except:5:0::No exception type(s) specified diff --git a/tests/functional/b/blacklisted_name.txt b/tests/functional/b/blacklisted_name.txt index f0fc9c20c..8cfcfce77 100644 --- a/tests/functional/b/blacklisted_name.txt +++ b/tests/functional/b/blacklisted_name.txt @@ -1 +1 @@ -blacklisted-name:3:baz:Black listed name "baz" +blacklisted-name:3:0:baz:"Black listed name ""baz""" diff --git a/tests/functional/b/broad_except.txt b/tests/functional/b/broad_except.txt index 5a46b03be..388457b40 100644 --- a/tests/functional/b/broad_except.txt +++ b/tests/functional/b/broad_except.txt @@ -1,2 +1,2 @@ -broad-except:7::Catching too general exception Exception -broad-except:13::Catching too general exception BaseException +broad-except:7:7::Catching too general exception Exception +broad-except:13:7::Catching too general exception BaseException |