From a954586235f7c6aae22f401ca59d86e5c21be778 Mon Sep 17 00:00:00 2001 From: firewave Date: Sun, 21 Jul 2024 16:01:43 +0200 Subject: [PATCH] test/cli/other_test.py: fixed `unused-variable` pylint warning --- test/cli/other_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cli/other_test.py b/test/cli/other_test.py index e560605e3bf..7c1057852d5 100644 --- a/test/cli/other_test.py +++ b/test/cli/other_test.py @@ -1758,7 +1758,7 @@ def test_checkers_report(tmpdir): with open(test_file, 'wt') as f: f.write('x=1;') checkers_report = os.path.join(tmpdir, 'r.txt') - exitcode, stdout, stderr, exe = cppcheck_ex(['--enable=all', '--checkers-report=' + checkers_report, test_file], remove_checkers_report=False) + exitcode, stdout, stderr = cppcheck(['--enable=all', '--checkers-report=' + checkers_report, test_file], remove_checkers_report=False) assert exitcode == 0, stdout assert 'Active checkers:' in stderr assert '--checkers-report' not in stderr