We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73aa896 commit 04e15e3Copy full SHA for 04e15e3
1 file changed
test/cli/lookup_test.py
@@ -943,6 +943,7 @@ def test_lookup_path(tmpdir, type, file):
943
with open(os.path.join(path, "cppcheck.cfg"), 'wt') as f:
944
f.write('{}')
945
exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)
946
+ os.remove(os.path.join(path, "cppcheck.cfg")) # clean up otherwise other tests may fail
947
else:
948
exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)
949
assert exitcode == 0, stdout if stdout else stderr
0 commit comments