Skip to content

Commit

Permalink
test/cli/other_test.py: fixed unused-variable pylint warning (#6624)
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave authored Jul 21, 2024
1 parent 68e3d3b commit 9989419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/other_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9989419

Please sign in to comment.