diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-14 15:28:25 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-28 16:09:53 +0100 |
commit | 98ed9b42936296e2334020d4d4b6a680f539eca0 (patch) | |
tree | 9c1e4ace4221ff88c97eed43bf072749464ac5ad | |
parent | a9f0b115f1e7d547a1915a6d577753651c4d2a16 (diff) | |
download | pylint-git-98ed9b42936296e2334020d4d4b6a680f539eca0.tar.gz |
Rename variable to respect pep8 in test_func.py
-rw-r--r-- | tests/test_func.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/test_func.py b/tests/test_func.py index 8f31a0791..4b71d3e35 100644 --- a/tests/test_func.py +++ b/tests/test_func.py @@ -134,14 +134,12 @@ def gen_tests(filter_rgx): ids=[o[0] for o in gen_tests(FILTER_RGX)], ) def test_functionality(module_file, messages_file, dependencies): - - LT = LintTestUpdate() if UPDATE else LintTestUsingModule() - - LT.module = module_file.replace(".py", "") - LT.output = messages_file - LT.depends = dependencies or None - LT.INPUT_DIR = INPUT_DIR - LT._test_functionality() + lint_test = LintTestUpdate() if UPDATE else LintTestUsingModule() + lint_test.module = module_file.replace(".py", "") + lint_test.output = messages_file + lint_test.depends = dependencies or None + lint_test.INPUT_DIR = INPUT_DIR + lint_test._test_functionality() if __name__ == "__main__": |