From 9989419cc8209fd37f4bba2a7072436c2c9ba64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sun, 21 Jul 2024 16:34:58 +0200 Subject: [PATCH] test/cli/other_test.py: fixed `unused-variable` pylint warning (#6624) --- 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