Skip to content

Commit

Permalink
test_coverage: fix formatting of --ignore-filename-regex
Browse files Browse the repository at this point in the history
`black` suggests putting the string between single quotes so
there is no need to escape double quotes.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
  • Loading branch information
stefano-garzarella committed Oct 24, 2023
1 parent 0b9e2e2 commit be28ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/test_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _get_current_coverage(coverage_config, no_cleanup, test_scope):

additional_exclude_path = coverage_config["exclude_path"]
if additional_exclude_path:
llvm_cov_command += f" --ignore-filename-regex \"{additional_exclude_path}\""
llvm_cov_command += f' --ignore-filename-regex "{additional_exclude_path}"'

if test_scope == pytest.workspace:
llvm_cov_command += " --workspace "
Expand Down

0 comments on commit be28ad8

Please sign in to comment.