summaryrefslogtreecommitdiff
path: root/test/DocTests.py
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-01-21 22:03:11 -0700
committerCraig Earls <enderw88@gmail.com>2015-01-21 22:03:11 -0700
commit28b0d6756785b5d36ae73c4614a9295d9697041a (patch)
tree20257fd9d99acc7a9d55a655e078a95a12f6e577 /test/DocTests.py
parenta65033b66cc084ca0c40538a9aa0e243cc32ab8c (diff)
parentbec52e3221d74ce3bf1383b245beae5a6214e387 (diff)
downloadledger-28b0d6756785b5d36ae73c4614a9295d9697041a.tar.gz
ledger-28b0d6756785b5d36ae73c4614a9295d9697041a.tar.bz2
ledger-28b0d6756785b5d36ae73c4614a9295d9697041a.zip
Merge commit 'bec52e3221d74ce3bf1383b245beae5a6214e387' into next
Conflicts: lisp/ledger-reconcile.el
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-xtest/DocTests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/DocTests.py b/test/DocTests.py
index ea32608e..d3434b43 100755
--- a/test/DocTests.py
+++ b/test/DocTests.py
@@ -184,7 +184,7 @@ class DocTests:
command[findex] = test_input_dir + test_file
error = False
try:
- verify = subprocess.check_output(command)
+ verify = subprocess.check_output(command, stderr=subprocess.STDOUT)
except:
verify = str()
error = True
@@ -221,7 +221,8 @@ class DocTests:
if __name__ == "__main__":
def getargs():
- parser = argparse.ArgumentParser(prog='DocTests', description='Test ledger examples from the documentation', prefix_chars='-')
+ parser = argparse.ArgumentParser(prog='DocTests',
+ description='Test and validate ledger examples from the texinfo manual')
parser.add_argument('-v', '--verbose',
dest='verbose',
action='count',