Skip to content

Commit 3f3c8ae

Browse files
committed
fix: escape path in test script content using repr()
1 parent 6a7ecd5 commit 3f3c8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/issues/test_1363_race_condition_streamable_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def start_server_process(port: int) -> subprocess.Popen[str]:
130130

131131
script_content = f"""
132132
import sys
133-
sys.path.insert(0, '{os.getcwd()}')
133+
sys.path.insert(0, {repr(os.getcwd())})
134134
from tests.issues.test_1363_race_condition_streamable_http import run_server_with_logging
135135
run_server_with_logging({port})
136136
"""

0 commit comments

Comments
 (0)