Skip to content

Commit 6a00c8a

Browse files
committed
remove tmp_path
1 parent add16b1 commit 6a00c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_clang_tidy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ def generate_compilation_database():
1919
(['--checks="boost-*"', '--version=16'], 1),
2020
),
2121
)
22-
def test_run_clang_tidy_valid(args, expected_retval, tmp_path, generate_compilation_database):
22+
def test_run_clang_tidy_valid(args, expected_retval, generate_compilation_database):
2323
# copy test file to tmp_path to prevent modifying repo data
2424
generate_compilation_database
25-
test_file = tmp_path / "main.c"
25+
test_file = Path("testing/main.c")
2626
test_file.write_bytes(Path("testing/main.c").read_bytes())
2727
ret, output = run_clang_tidy(args + [str(test_file)])
2828
assert ret == expected_retval

0 commit comments

Comments
 (0)