summaryrefslogtreecommitdiff
path: root/tests/functional/b
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-11-24 16:52:24 +0100
committerGitHub <noreply@github.com>2021-11-24 16:52:24 +0100
commitbe149db10f756301a6f18c245fa799d7beec6648 (patch)
tree696a0591b57f0913c8831f49c600dcbb76bb43d1 /tests/functional/b
parentc056248a458330b1813c144310fbc5d4bb82a3d9 (diff)
downloadpylint-git-be149db10f756301a6f18c245fa799d7beec6648.tar.gz
Update functional test expected output (#5349)
* Add ``confidence`` to all expected functional test outputs * Make OutputLine accept end_line and end_column Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/functional/b')
-rw-r--r--tests/functional/b/bad_except_order.txt10
-rw-r--r--tests/functional/b/bad_exception_context.txt6
-rw-r--r--tests/functional/b/bad_indentation.txt4
-rw-r--r--tests/functional/b/bad_inline_option.txt2
-rw-r--r--tests/functional/b/bad_open_mode.txt12
-rw-r--r--tests/functional/b/bad_option_value.txt2
-rw-r--r--tests/functional/b/bad_reversed_sequence.txt12
-rw-r--r--tests/functional/b/bad_staticmethod_argument.txt4
-rw-r--r--tests/functional/b/bad_thread_instantiation.txt4
-rw-r--r--tests/functional/b/bare_except.txt2
-rw-r--r--tests/functional/b/blacklisted_name.txt2
-rw-r--r--tests/functional/b/broad_except.txt4
12 files changed, 32 insertions, 32 deletions
diff --git a/tests/functional/b/bad_except_order.txt b/tests/functional/b/bad_except_order.txt
index 1181676a2..c6e6b4471 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: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)
+bad-except-order:9:7:9:16::Bad except clauses order (Exception is an ancestor class of TypeError):UNDEFINED
+bad-except-order:16:7:16:17::Bad except clauses order (LookupError is an ancestor class of IndexError):UNDEFINED
+bad-except-order:23:7:23:38::Bad except clauses order (LookupError is an ancestor class of IndexError):UNDEFINED
+bad-except-order:23:7:23:38::Bad except clauses order (NameError is an ancestor class of UnboundLocalError):UNDEFINED
+bad-except-order:26:0:31:8::Bad except clauses order (empty except clause should always appear last):UNDEFINED
diff --git a/tests/functional/b/bad_exception_context.txt b/tests/functional/b/bad_exception_context.txt
index 11f9e404e..ef7c78632 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: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
+bad-exception-context:14:4:14:27:test:Exception context set to something which is not an exception, nor None:UNDEFINED
+bad-exception-context:17:4:17:34:test:Exception context set to something which is not an exception, nor None:UNDEFINED
+bad-exception-context:23:4:23:36:test:Exception context set to something which is not an exception, nor None:UNDEFINED
diff --git a/tests/functional/b/bad_indentation.txt b/tests/functional/b/bad_indentation.txt
index 3963624fd..ac9f2cbd8 100644
--- a/tests/functional/b/bad_indentation.txt
+++ b/tests/functional/b/bad_indentation.txt
@@ -1,2 +1,2 @@
-bad-indentation:6:0::Bad indentation. Found 1 spaces, expected 4
-bad-indentation:12:0::Bad indentation. Found 5 spaces, expected 4
+bad-indentation:6:0:None:None::Bad indentation. Found 1 spaces, expected 4:UNDEFINED
+bad-indentation:12:0:None:None::Bad indentation. Found 5 spaces, expected 4:UNDEFINED
diff --git a/tests/functional/b/bad_inline_option.txt b/tests/functional/b/bad_inline_option.txt
index 6a97bff61..bb7793a50 100644
--- a/tests/functional/b/bad_inline_option.txt
+++ b/tests/functional/b/bad_inline_option.txt
@@ -1 +1 @@
-bad-inline-option:3:0::Unable to consider inline option 'disable'
+bad-inline-option:3:0:None:None::Unable to consider inline option 'disable':UNDEFINED
diff --git a/tests/functional/b/bad_open_mode.txt b/tests/functional/b/bad_open_mode.txt
index 1ea232598..00cb00780 100644
--- a/tests/functional/b/bad_open_mode.txt
+++ b/tests/functional/b/bad_open_mode.txt
@@ -1,6 +1,6 @@
-bad-open-mode:12:0::"""rwx"" is not a valid mode for open."
-bad-open-mode:13:0::"""rr"" is not a valid mode for open."
-bad-open-mode:14:0::"""+"" is not a valid mode for open."
-bad-open-mode:15:0::"""xw"" is not a valid mode for open."
-bad-open-mode:21:0::"""Ua"" is not a valid mode for open."
-bad-open-mode:22:0::"""Ur++"" is not a valid mode for open."
+bad-open-mode:12:0:12:35::"""rwx"" is not a valid mode for open.":UNDEFINED
+bad-open-mode:13:0:13:34::"""rr"" is not a valid mode for open.":UNDEFINED
+bad-open-mode:14:0:14:33::"""+"" is not a valid mode for open.":UNDEFINED
+bad-open-mode:15:0:15:34::"""xw"" is not a valid mode for open.":UNDEFINED
+bad-open-mode:21:0:21:34::"""Ua"" is not a valid mode for open.":UNDEFINED
+bad-open-mode:22:0:22:36::"""Ur++"" is not a valid mode for open.":UNDEFINED
diff --git a/tests/functional/b/bad_option_value.txt b/tests/functional/b/bad_option_value.txt
index 48eb85264..f64a60c2a 100644
--- a/tests/functional/b/bad_option_value.txt
+++ b/tests/functional/b/bad_option_value.txt
@@ -1 +1 @@
-bad-option-value:1:0::Bad option value 'W04044'
+bad-option-value:1:0:None:None::Bad option value 'W04044':UNDEFINED
diff --git a/tests/functional/b/bad_reversed_sequence.txt b/tests/functional/b/bad_reversed_sequence.txt
index f0597356c..2c92f2021 100644
--- a/tests/functional/b/bad_reversed_sequence.txt
+++ b/tests/functional/b/bad_reversed_sequence.txt
@@ -1,6 +1,6 @@
-bad-reversed-sequence:40:10: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:44: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:48: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:40:10:40:24:test:The first reversed() argument is not a sequence:UNDEFINED
+bad-reversed-sequence:43:10:43:25:test:The first reversed() argument is not a sequence:UNDEFINED
+bad-reversed-sequence:44:10:44:35:test:The first reversed() argument is not a sequence:UNDEFINED
+bad-reversed-sequence:47:10:47:33:test:The first reversed() argument is not a sequence:UNDEFINED
+bad-reversed-sequence:48:10:48:39:test:The first reversed() argument is not a sequence:UNDEFINED
+bad-reversed-sequence:50:10:50:32:test:The first reversed() argument is not a sequence:UNDEFINED
diff --git a/tests/functional/b/bad_staticmethod_argument.txt b/tests/functional/b/bad_staticmethod_argument.txt
index c2e0c5b0e..115555c31 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:4:Abcd.method1:Static method with 'self' as first argument
-bad-staticmethod-argument:10:4:Abcd.method2:Static method with 'cls' as first argument
+bad-staticmethod-argument:5:4:6:12:Abcd.method1:Static method with 'self' as first argument:UNDEFINED
+bad-staticmethod-argument:10:4:11:12:Abcd.method2:Static method with 'cls' as first argument:UNDEFINED
diff --git a/tests/functional/b/bad_thread_instantiation.txt b/tests/functional/b/bad_thread_instantiation.txt
index 59f606aee..e969a2473 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:0::threading.Thread needs the target function
-bad-thread-instantiation:8:0::threading.Thread needs the target function
+bad-thread-instantiation:5:0:5:30::threading.Thread needs the target function:UNDEFINED
+bad-thread-instantiation:8:0:8:18::threading.Thread needs the target function:UNDEFINED
diff --git a/tests/functional/b/bare_except.txt b/tests/functional/b/bare_except.txt
index 514ffe1d6..584f1be6d 100644
--- a/tests/functional/b/bare_except.txt
+++ b/tests/functional/b/bare_except.txt
@@ -1 +1 @@
-bare-except:5:0::No exception type(s) specified
+bare-except:5:0:6:8::No exception type(s) specified:UNDEFINED
diff --git a/tests/functional/b/blacklisted_name.txt b/tests/functional/b/blacklisted_name.txt
index 747d71a95..63fe30971 100644
--- a/tests/functional/b/blacklisted_name.txt
+++ b/tests/functional/b/blacklisted_name.txt
@@ -1 +1 @@
-disallowed-name:3:0:baz:Disallowed name "baz"
+disallowed-name:3:0:4:8:baz:"Disallowed name ""baz""":UNDEFINED
diff --git a/tests/functional/b/broad_except.txt b/tests/functional/b/broad_except.txt
index 388457b40..55fce74ca 100644
--- a/tests/functional/b/broad_except.txt
+++ b/tests/functional/b/broad_except.txt
@@ -1,2 +1,2 @@
-broad-except:7:7::Catching too general exception Exception
-broad-except:13:7::Catching too general exception BaseException
+broad-except:7:7:7:16::Catching too general exception Exception:UNDEFINED
+broad-except:13:7:13:20::Catching too general exception BaseException:UNDEFINED