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