From be28ad8e2c248875637d791c40282ec3d6e9c639 Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Mon, 23 Oct 2023 09:46:27 +0200 Subject: [PATCH] test_coverage: fix formatting of --ignore-filename-regex `black` suggests putting the string between single quotes so there is no need to escape double quotes. Signed-off-by: Stefano Garzarella --- integration_tests/test_coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/test_coverage.py b/integration_tests/test_coverage.py index 00beacd..842502e 100644 --- a/integration_tests/test_coverage.py +++ b/integration_tests/test_coverage.py @@ -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 "