mirror of
https://git.proxmox.com/git/rustc
synced 2026-08-06 09:55:55 +00:00
17 lines
689 B
Diff
17 lines
689 B
Diff
--- a/src/test/run-make-fulldeps/sysroot-crates-are-unstable/test.py
|
|
+++ b/src/test/run-make-fulldeps/sysroot-crates-are-unstable/test.py
|
|
@@ -22,6 +22,7 @@
|
|
if to_input is None:
|
|
child = Popen(command, stdout=PIPE, stderr=PIPE)
|
|
else:
|
|
+ to_input = to_input.encode("utf-8")
|
|
child = Popen(command, stdout=PIPE, stderr=PIPE, stdin=PIPE)
|
|
stdout, stderr = child.communicate(input=to_input)
|
|
return (convert_to_string(stdout), convert_to_string(stderr))
|
|
--- a/src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
|
|
+++ b/src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile
|
|
@@ -1,2 +1,2 @@
|
|
all:
|
|
- python2.7 test.py
|
|
+ python3 test.py
|