mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 08:55:05 +01:00
run rst2pseudoxml.py with shell=true (#821)
makes rst2pseudoxml.py work properly on Windows executes via a shell instead of not working
This commit is contained in:
parent
89faec994a
commit
615d887513
@ -34,7 +34,8 @@ def test_rst_file_syntax(filename):
|
||||
p = subprocess.Popen(
|
||||
['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
|
||||
stderr=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE
|
||||
stdout=subprocess.PIPE,
|
||||
shell=True
|
||||
)
|
||||
err = p.communicate()[1]
|
||||
assert p.returncode == 0, err.decode('utf8')
|
||||
|
Loading…
Reference in New Issue
Block a user