summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-07 22:20:00 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-07 22:59:36 +0100
commitf84bf0220812a987595f719acad0be6e8cf0f982 (patch)
treea7c96e0322a8b38af55b34e57e33105528b61fb8
parent48d366855759b612cc883409997ba161afe09095 (diff)
downloadpylint-git-f84bf0220812a987595f719acad0be6e8cf0f982.tar.gz
Migrate all func_noerror_* to new functional tests
-rw-r--r--tests/functional/a/access/access_attr_before_def_false_positive.py (renamed from tests/input/func_noerror_access_attr_before_def_false_positive.py)0
-rw-r--r--tests/functional/a/access/access_member_before_definition.py (renamed from tests/functional/a/access_member_before_definition.py)0
-rw-r--r--tests/functional/a/access/access_member_before_definition.txt (renamed from tests/functional/a/access_member_before_definition.txt)0
-rw-r--r--tests/functional/a/access/access_to__name__.py (renamed from tests/functional/a/access_to__name__.py)0
-rw-r--r--tests/functional/a/access/access_to__name__.txt (renamed from tests/functional/a/access_to__name__.txt)0
-rw-r--r--tests/functional/a/access/access_to_protected_members.py (renamed from tests/functional/a/access_to_protected_members.py)0
-rw-r--r--tests/functional/a/access/access_to_protected_members.txt (renamed from tests/functional/a/access_to_protected_members.txt)0
-rw-r--r--tests/functional/b/base_init_vars.py (renamed from tests/input/func_noerror_base_init_vars.py)0
-rw-r--r--tests/functional/b/builtin_module_test.py (renamed from tests/input/func_noerror_builtin_module_test.py)0
-rw-r--r--tests/functional/c/class_attributes.py (renamed from tests/input/func_noerror_class_attributes.py)0
-rw-r--r--tests/functional/c/classes_meth_could_be_a_function.py (renamed from tests/input/func_noerror_classes_meth_could_be_a_function.py)0
-rw-r--r--tests/functional/c/classes_protected_member_access.py (renamed from tests/input/func_noerror_classes_protected_member_access.py)0
-rw-r--r--tests/functional/d/decorator_scope.py (renamed from tests/input/func_noerror_decorator_scope.py)0
-rw-r--r--tests/functional/e/e1101_9588_base_attr_aug_assign.py (renamed from tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py)0
-rw-r--r--tests/functional/e/external_classmethod_crash.py (renamed from tests/input/func_noerror_external_classmethod_crash.py)0
-rw-r--r--tests/functional/i/init_return_from_inner_function.py (renamed from tests/input/func_noerror___init___return_from_inner_function.py)0
-rw-r--r--tests/functional/i/inner_classes.py (renamed from tests/input/func_noerror_inner_classes.py)0
-rw-r--r--tests/functional/l/lambda_use_before_assign.py (renamed from tests/input/func_noerror_lambda_use_before_assign.py)0
-rw-r--r--tests/functional/m/metaclass_attr_access.py (renamed from tests/input/func_noerror_mcs_attr_access.py)0
-rw-r--r--tests/functional/n/no/no_warning_docstring.py (renamed from tests/input/func_noerror_no_warning_docstring.py)0
-rw-r--r--tests/functional/o/object_as_class_attribute.py (renamed from tests/input/func_noerror_object_as_class_attribute.py)0
-rw-r--r--tests/functional/o/overloaded_operator.py (renamed from tests/input/func_noerror_overloaded_operator.py)0
-rw-r--r--tests/functional/p/property_affectation_py26.py (renamed from tests/input/func_noerror_property_affectation_py26.py)0
-rw-r--r--tests/functional/y/yield_assign_py25.py (renamed from tests/input/func_noerror_yield_assign_py25.py)0
-rw-r--r--tests/functional/y/yield_return_mix.py (renamed from tests/input/func_noerror_yield_return_mix.py)0
-rw-r--r--tests/test_func.py2
26 files changed, 1 insertions, 1 deletions
diff --git a/tests/input/func_noerror_access_attr_before_def_false_positive.py b/tests/functional/a/access/access_attr_before_def_false_positive.py
index 3884c9980..3884c9980 100644
--- a/tests/input/func_noerror_access_attr_before_def_false_positive.py
+++ b/tests/functional/a/access/access_attr_before_def_false_positive.py
diff --git a/tests/functional/a/access_member_before_definition.py b/tests/functional/a/access/access_member_before_definition.py
index d8a97b4c7..d8a97b4c7 100644
--- a/tests/functional/a/access_member_before_definition.py
+++ b/tests/functional/a/access/access_member_before_definition.py
diff --git a/tests/functional/a/access_member_before_definition.txt b/tests/functional/a/access/access_member_before_definition.txt
index 76ba5de50..76ba5de50 100644
--- a/tests/functional/a/access_member_before_definition.txt
+++ b/tests/functional/a/access/access_member_before_definition.txt
diff --git a/tests/functional/a/access_to__name__.py b/tests/functional/a/access/access_to__name__.py
index 82dcdbe78..82dcdbe78 100644
--- a/tests/functional/a/access_to__name__.py
+++ b/tests/functional/a/access/access_to__name__.py
diff --git a/tests/functional/a/access_to__name__.txt b/tests/functional/a/access/access_to__name__.txt
index 5e1f80e2a..5e1f80e2a 100644
--- a/tests/functional/a/access_to__name__.txt
+++ b/tests/functional/a/access/access_to__name__.txt
diff --git a/tests/functional/a/access_to_protected_members.py b/tests/functional/a/access/access_to_protected_members.py
index 737d8b9d6..737d8b9d6 100644
--- a/tests/functional/a/access_to_protected_members.py
+++ b/tests/functional/a/access/access_to_protected_members.py
diff --git a/tests/functional/a/access_to_protected_members.txt b/tests/functional/a/access/access_to_protected_members.txt
index f1a545b27..f1a545b27 100644
--- a/tests/functional/a/access_to_protected_members.txt
+++ b/tests/functional/a/access/access_to_protected_members.txt
diff --git a/tests/input/func_noerror_base_init_vars.py b/tests/functional/b/base_init_vars.py
index 152cbfd47..152cbfd47 100644
--- a/tests/input/func_noerror_base_init_vars.py
+++ b/tests/functional/b/base_init_vars.py
diff --git a/tests/input/func_noerror_builtin_module_test.py b/tests/functional/b/builtin_module_test.py
index 9b1e7ce8e..9b1e7ce8e 100644
--- a/tests/input/func_noerror_builtin_module_test.py
+++ b/tests/functional/b/builtin_module_test.py
diff --git a/tests/input/func_noerror_class_attributes.py b/tests/functional/c/class_attributes.py
index b6fd4601e..b6fd4601e 100644
--- a/tests/input/func_noerror_class_attributes.py
+++ b/tests/functional/c/class_attributes.py
diff --git a/tests/input/func_noerror_classes_meth_could_be_a_function.py b/tests/functional/c/classes_meth_could_be_a_function.py
index 05a6c40d7..05a6c40d7 100644
--- a/tests/input/func_noerror_classes_meth_could_be_a_function.py
+++ b/tests/functional/c/classes_meth_could_be_a_function.py
diff --git a/tests/input/func_noerror_classes_protected_member_access.py b/tests/functional/c/classes_protected_member_access.py
index 516efd7d4..516efd7d4 100644
--- a/tests/input/func_noerror_classes_protected_member_access.py
+++ b/tests/functional/c/classes_protected_member_access.py
diff --git a/tests/input/func_noerror_decorator_scope.py b/tests/functional/d/decorator_scope.py
index 8d35159e9..8d35159e9 100644
--- a/tests/input/func_noerror_decorator_scope.py
+++ b/tests/functional/d/decorator_scope.py
diff --git a/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py b/tests/functional/e/e1101_9588_base_attr_aug_assign.py
index 11472010c..11472010c 100644
--- a/tests/input/func_noerror_e1101_9588_base_attr_aug_assign.py
+++ b/tests/functional/e/e1101_9588_base_attr_aug_assign.py
diff --git a/tests/input/func_noerror_external_classmethod_crash.py b/tests/functional/e/external_classmethod_crash.py
index e9842a5e5..e9842a5e5 100644
--- a/tests/input/func_noerror_external_classmethod_crash.py
+++ b/tests/functional/e/external_classmethod_crash.py
diff --git a/tests/input/func_noerror___init___return_from_inner_function.py b/tests/functional/i/init_return_from_inner_function.py
index 769d5ac96..769d5ac96 100644
--- a/tests/input/func_noerror___init___return_from_inner_function.py
+++ b/tests/functional/i/init_return_from_inner_function.py
diff --git a/tests/input/func_noerror_inner_classes.py b/tests/functional/i/inner_classes.py
index 24a2edb80..24a2edb80 100644
--- a/tests/input/func_noerror_inner_classes.py
+++ b/tests/functional/i/inner_classes.py
diff --git a/tests/input/func_noerror_lambda_use_before_assign.py b/tests/functional/l/lambda_use_before_assign.py
index af2775cae..af2775cae 100644
--- a/tests/input/func_noerror_lambda_use_before_assign.py
+++ b/tests/functional/l/lambda_use_before_assign.py
diff --git a/tests/input/func_noerror_mcs_attr_access.py b/tests/functional/m/metaclass_attr_access.py
index 149e07812..149e07812 100644
--- a/tests/input/func_noerror_mcs_attr_access.py
+++ b/tests/functional/m/metaclass_attr_access.py
diff --git a/tests/input/func_noerror_no_warning_docstring.py b/tests/functional/n/no/no_warning_docstring.py
index 315eeeaab..315eeeaab 100644
--- a/tests/input/func_noerror_no_warning_docstring.py
+++ b/tests/functional/n/no/no_warning_docstring.py
diff --git a/tests/input/func_noerror_object_as_class_attribute.py b/tests/functional/o/object_as_class_attribute.py
index 71cd027b7..71cd027b7 100644
--- a/tests/input/func_noerror_object_as_class_attribute.py
+++ b/tests/functional/o/object_as_class_attribute.py
diff --git a/tests/input/func_noerror_overloaded_operator.py b/tests/functional/o/overloaded_operator.py
index 3a158b00b..3a158b00b 100644
--- a/tests/input/func_noerror_overloaded_operator.py
+++ b/tests/functional/o/overloaded_operator.py
diff --git a/tests/input/func_noerror_property_affectation_py26.py b/tests/functional/p/property_affectation_py26.py
index 60118bbf6..60118bbf6 100644
--- a/tests/input/func_noerror_property_affectation_py26.py
+++ b/tests/functional/p/property_affectation_py26.py
diff --git a/tests/input/func_noerror_yield_assign_py25.py b/tests/functional/y/yield_assign_py25.py
index 6a5ae00b2..6a5ae00b2 100644
--- a/tests/input/func_noerror_yield_assign_py25.py
+++ b/tests/functional/y/yield_assign_py25.py
diff --git a/tests/input/func_noerror_yield_return_mix.py b/tests/functional/y/yield_return_mix.py
index 8e050f0f0..8e050f0f0 100644
--- a/tests/input/func_noerror_yield_return_mix.py
+++ b/tests/functional/y/yield_return_mix.py
diff --git a/tests/test_func.py b/tests/test_func.py
index 6cc5dbd87..170055918 100644
--- a/tests/test_func.py
+++ b/tests/test_func.py
@@ -120,7 +120,7 @@ def gen_tests(filter_rgx):
tests.append((module_file, messages_file, dependencies))
if UPDATE_FILE.exists():
return tests
- assert len(tests) < 49, "Please do not add new test cases here."
+ assert len(tests) < 28, "Please do not add new test cases here."
return tests