diff options
Diffstat (limited to 'tests/test_examples.py')
-rw-r--r-- | tests/test_examples.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_examples.py b/tests/test_examples.py index 3c516e1..7fb2ad3 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -21,12 +21,12 @@ class TestExamplesSucceed(unittest.TestCase): # Use it when we finally drop Python 2... path = os.path.join(root, filename) t1 = time.time() - rc, stdout = run_exe(path) + rc, stdout, stderr = run_exe(path) elapsed = time.time() - t1 if EMIT_ELAPSED_TIME: print('{}... elapsed: {}'.format(filename, elapsed)) self.assertEqual( - rc, 0, 'example "{}" failed with stdout =\n{}'.format(filename, stdout)) + rc, 0, 'example "{}" failed with stdout =\n{}\nstderr =\n{}'.format(filename, stdout, stderr)) if __name__ == '__main__': |