Fix Windows paths getting escaped

This commit is contained in:
jack1142
2022-07-29 18:57:47 +02:00
parent e0f25c5fb5
commit 3cbe175632
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ project_with_environment_asserts = test_projects.new_c_project(
def test(tmp_path):
python_echo = f'"{sys.executable}" -c "import sys; print(*sys.argv[1:])"'
python_echo = f"'{sys.executable}' -c \"import sys; print(*sys.argv[1:])\""
project_dir = tmp_path / "project"
project_with_environment_asserts.generate(project_dir)
+1 -1
View File
@@ -3,7 +3,7 @@ import sys
from cibuildwheel.environment import parse_environment
PYTHON_ECHO = f'"{sys.executable}" -c "import sys; print(*sys.argv[1:])"'
PYTHON_ECHO = f"'{sys.executable}' -c \"import sys; print(*sys.argv[1:])\""
def test_basic_parsing():