Fix Windows paths getting escaped
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user