summaryrefslogtreecommitdiff
path: root/test/DocTests.py
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-21 10:32:50 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-21 10:32:50 +0100
commit47dbddf5af133fa7be7d6ac4dcb83f2e5cf03930 (patch)
tree880f66af208471aea7543f4ede99a3f588605999 /test/DocTests.py
parentba46240921ac7f70eef57c90e24923e528971d4f (diff)
downloadfork-ledger-47dbddf5af133fa7be7d6ac4dcb83f2e5cf03930.tar.gz
fork-ledger-47dbddf5af133fa7be7d6ac4dcb83f2e5cf03930.tar.bz2
fork-ledger-47dbddf5af133fa7be7d6ac4dcb83f2e5cf03930.zip
[tests] Capture stderr when running DocTests
Diffstat (limited to 'test/DocTests.py')
-rwxr-xr-xtest/DocTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DocTests.py b/test/DocTests.py
index e362b980..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