1
0
mirror of https://github.com/httpie/cli.git synced 2025-01-10 00:28:12 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Jakub Roztocil 2019-12-04 13:37:46 +01:00
commit 585cc0c039
2 changed files with 3 additions and 2 deletions

View File

@ -347,7 +347,7 @@ class Downloader:
class DownloadStatus: class DownloadStatus:
"""Holds details about the downland status.""" """Holds details about the download status."""
def __init__(self): def __init__(self):
self.downloaded = 0 self.downloaded = 0

View File

@ -34,7 +34,8 @@ def test_rst_file_syntax(filename):
p = subprocess.Popen( p = subprocess.Popen(
['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename], ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
stdout=subprocess.PIPE stdout=subprocess.PIPE,
shell=True
) )
err = p.communicate()[1] err = p.communicate()[1]
assert p.returncode == 0, err.decode('utf8') assert p.returncode == 0, err.decode('utf8')