From 47dbddf5af133fa7be7d6ac4dcb83f2e5cf03930 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 21 Jan 2015 10:32:50 +0100 Subject: [tests] Capture stderr when running DocTests --- test/DocTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/DocTests.py') 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 -- cgit v1.2.3