mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Remove -n option in echo
This commit is contained in:
@@ -23,7 +23,7 @@ p.wait()
|
||||
|
||||
assert p.returncode == 0
|
||||
|
||||
p = subprocess.Popen(["echo", "-n", "test"], stdout=subprocess.PIPE)
|
||||
p = subprocess.Popen(["echo", "test"], stdout=subprocess.PIPE)
|
||||
p.wait()
|
||||
|
||||
assert p.stdout.read() == b"test"
|
||||
assert p.stdout.read() == b"test\n"
|
||||
|
||||
Reference in New Issue
Block a user