Commit 64b8fc3f authored by Jason R. Coombs's avatar Jason R. Coombs

Reindent for clarity

parent 506d6f75
......@@ -89,8 +89,14 @@ class TestCLI(WrapperTester):
by preceding each of them with back slashes.
"""
self.create_script(tmpdir)
cmd = [str(tmpdir / 'foo.exe'), 'arg1', 'arg 2',
'arg "2\\"', 'arg 4\\', 'arg5 a\\\\b']
cmd = [
str(tmpdir / 'foo.exe'),
'arg1',
'arg 2',
'arg "2\\"',
'arg 4\\',
'arg5 a\\\\b',
]
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
stdout, stderr = proc.communicate('hello\nworld\n'.encode('ascii'))
actual = stdout.decode('ascii').replace('\r\n', '\n')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment